Skip to content

Commit 6c79ebc

Browse files
authored
Merge pull request #53 from damingerdai/babel-fix
fix: remove babel env config to fix 'react-transform-hmr'
2 parents d13a5a1 + 94959ad commit 6c79ebc

File tree

2 files changed

+2
-43
lines changed

2 files changed

+2
-43
lines changed

.babelrc

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,3 @@
11
{
2-
"presets": ["react", "es2015", "stage-0"],
3-
"env": {
4-
"development": {
5-
"plugins": [
6-
["react-transform", {
7-
"transforms": [{
8-
"transform": "react-transform-hmr",
9-
"imports": ["react"],
10-
"locals": ["module"]
11-
}, {
12-
"transform": "react-transform-catch-errors",
13-
"imports": ["react", "redbox-react"]
14-
}]
15-
}]
16-
]
17-
}
18-
}
2+
"presets": ["react", "es2015", "stage-0"]
193
}

0 commit comments

Comments
 (0)