-
-
Notifications
You must be signed in to change notification settings - Fork 94
Expand file tree
/
Copy path.babelrc
More file actions
26 lines (26 loc) · 605 Bytes
/
.babelrc
File metadata and controls
26 lines (26 loc) · 605 Bytes
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
{
"presets": [
["@babel/preset-env", { "useBuiltIns": "entry", "corejs": { "version": 3, "proposals": true } }],
"@babel/preset-typescript"
],
"plugins": [
"@babel/plugin-proposal-class-properties",
"@babel/plugin-proposal-object-rest-spread",
"@babel/plugin-transform-runtime",
"@babel/plugin-proposal-nullish-coalescing-operator",
"@babel/plugin-proposal-optional-chaining"
],
"env": {
"node": {
"plugins": [
"add-module-exports"
]
},
"test": {
"plugins": [
"add-module-exports",
"istanbul"
]
}
}
}