We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6c9e2c5 commit 4f16cdeCopy full SHA for 4f16cde
.babelrc
babel.config.json
@@ -1,16 +1,15 @@
1
{
2
"env": {
3
"development": {"comments": false, "minified": true},
4
- "production": {"comments": true, "minified": false}
+ "production": {"comments": true, "minified": false},
5
+ "test": {
6
+ "sourceType": "unambiguous",
7
+ "presets": [["@babel/env", {"modules": "commonjs"}]]
8
+ }
9
},
10
"presets": [
- [
- "@babel/preset-react",
- {
- "runtime": "automatic"
11
- }
12
- ],
13
- "@babel/env"
+ ["@babel/env", {"modules": false}],
+ ["@babel/preset-react", {"runtime": "automatic"}]
14
],
15
"plugins": [
16
"react-hot-loader/babel",
@@ -27,6 +26,4 @@
27
26
}
28
]
29
30
- // "comments": false,
31
- // "minified": true,
32
0 commit comments