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 1dfc279 commit 09494d6Copy full SHA for 09494d6
.babelrc
@@ -1,31 +1,20 @@
1
{
2
"plugins": [
3
- // must be an array with options object as second item
4
[
5
"react-transform",
6
7
- // must be an array of objects
8
"transforms": [
9
10
- // can be an NPM module name or a local path
11
"transform": "react-transform-hmr",
12
- // see transform docs for "imports" and "locals" dependencies
13
- "imports": [
14
- "react"
15
- ],
16
- "locals": [
17
- "module"
18
- ]
+ "imports": ["react"],
+ "locals": ["module"]
19
},
20
21
- // you can have many transforms, not just one
22
"transform": "react-transform-catch-errors",
23
24
25
+ "imports": ["react"]
26
}
27
]
28
29
30
31
-}
+}
0 commit comments