We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3e56543 commit 267ab13Copy full SHA for 267ab13
.babelrc
@@ -1,10 +1,31 @@
1
{
2
- "presets": ["env", "stage-2"],
+ "presets": [
3
+ ["@babel/preset-env", {
4
+ "useBuiltIns": "entry",
5
+ "corejs": "3"
6
+ }]
7
+ ],
8
"env": {
9
"test": {
- "plugins": ["istanbul"]
10
+ "plugins": ["istanbul",
11
+ ["@babel/plugin-proposal-decorators", {
12
+ "legacy": true
13
+ }],
14
+ "@babel/plugin-proposal-function-sent",
15
+ "@babel/plugin-proposal-export-namespace-from",
16
+ "@babel/plugin-proposal-numeric-separator",
17
+ "@babel/plugin-proposal-throw-expressions",
18
+ ["@babel/plugin-proposal-class-properties", {
19
+ "loose": true
20
21
+ ["@babel/plugin-transform-runtime",
22
+ {
23
+ "regenerator": true
24
+ }
25
+ ]
26
27
}
28
},
29
"retainLines": true,
30
"sourceMaps": true
-}
31
+}
0 commit comments