We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b321b95 commit 7d04d52Copy full SHA for 7d04d52
.babelrc
@@ -1,21 +1,27 @@
1
{
2
"presets": [
3
- "react",
+ "@babel/preset-react",
4
[
5
- "env",
+ "@babel/preset-env",
6
7
- // "modules": false,
+ "loose": true,
8
+ "modules": false,
9
"targets": {
10
"browsers": [
11
"> 5%"
12
]
13
}
14
15
],
- "stage-2"
16
+ "@babel/preset-stage-2"
17
18
"plugins": [
- "transform-runtime",
19
+ ["@babel/plugin-transform-runtime", {
20
+ "helpers": true,
21
+ "polyfill": false,
22
+ "regenerator": true,
23
+ "moduleName": "@babel/runtime"
24
+ }],
25
// "styled-components",
26
"lodash"
27
0 commit comments