File tree Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 11{
22 "presets" : [
3- " es2015-minimal " ,
3+ [ " es2015" , { "loose" : true }] ,
44 " stage-0"
55 ],
66 "plugins" : [
Original file line number Diff line number Diff line change 4141 "babel-plugin-transform-class-properties" : " ^6.10.2" ,
4242 "babel-plugin-transform-react-jsx" : " ^6.8.0" ,
4343 "babel-preset-es2015" : " ^6.9.0" ,
44- "babel-preset-es2015-minimal" : " ^2.0.0" ,
45- "babel-preset-es2015-minimal-rollup" : " ^2.1.0" ,
4644 "babel-preset-stage-0" : " ^6.5.0" ,
4745 "babel-register" : " ^6.9.0" ,
4846 "chai" : " ^3.5.0" ,
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ import memory from 'rollup-plugin-memory';
55import babel from 'rollup-plugin-babel' ;
66
77let babelRc = JSON . parse ( fs . readFileSync ( './.babelrc' ) ) ;
8+ babelRc . presets [ 0 ] [ 1 ] . modules = false ;
89
910let entry = process . env . ENTRY || 'index' ;
1011
@@ -27,7 +28,7 @@ export default {
2728 babelrc : false ,
2829 comments : false ,
2930 exclude : [ ] ,
30- presets : [ 'es2015-minimal-rollup' ] . concat ( babelRc . presets . slice ( 1 ) ) ,
31+ presets : babelRc . presets ,
3132 plugins : babelRc . plugins
3233 } )
3334 ]
You can’t perform that action at this time.
0 commit comments