-
Notifications
You must be signed in to change notification settings - Fork 0
/
.babelrc
28 lines (28 loc) · 819 Bytes
/
.babelrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{
"env": {
"development": {
"presets": [["@babel/preset-env", { "targets": { "node": "current" } }]],
"plugins": [
"babel-plugin-add-module-exports",
"@babel/plugin-proposal-class-properties",
"@babel/plugin-transform-runtime"
]
},
"test": {
"presets": [["@babel/preset-env", { "targets": { "node": "4.3.0" } }]],
"plugins": [
"babel-plugin-add-module-exports",
"@babel/plugin-proposal-class-properties",
"@babel/plugin-transform-runtime"
]
},
"production": {
"presets": [["@babel/preset-env", { "targets": { "node": "4.3.0" } }]],
"plugins": [
"babel-plugin-add-module-exports",
"@babel/plugin-proposal-class-properties",
"@babel/plugin-transform-runtime"
]
}
}
}