File tree Expand file tree Collapse file tree 2 files changed +3
-14
lines changed Expand file tree Collapse file tree 2 files changed +3
-14
lines changed Original file line number Diff line number Diff line change 2
2
"presets" : [" es2015" , " react" , " stage-1" ],
3
3
"env" : {
4
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
- }]
5
+ "presets" : [
6
+ " react-hmre"
16
7
]
17
8
}
18
9
}
Original file line number Diff line number Diff line change 35
35
"babel-eslint" : " 5.0.0" ,
36
36
"babel-loader" : " 6.2.3" ,
37
37
"babel-plugin-react-display-name" : " 2.0.0" ,
38
- "babel-plugin-react-transform" : " 2.0.0" ,
39
38
"babel-preset-es2015" : " 6.5.0" ,
40
39
"babel-preset-react" : " 6.5.0" ,
40
+ "babel-preset-react-hmre" : " 1.1.1" ,
41
41
"babel-preset-stage-1" : " 6.5.0" ,
42
42
"browser-sync" : " 2.11.1" ,
43
43
"chai" : " 3.4.1" ,
54
54
"mocha" : " 2.3.4" ,
55
55
"node-sass" : " 3.4.2" ,
56
56
"npm-run-all" : " 1.6.0" ,
57
- "react-transform-catch-errors" : " 1.0.1" ,
58
- "react-transform-hmr" : " 1.0.1" ,
59
57
"redbox-react" : " 1.2.0" ,
60
58
"rimraf" : " 2.5.0" ,
61
59
"sass-loader" : " 3.1.2" ,
You can’t perform that action at this time.
0 commit comments