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 1
1
{
2
2
"presets" : [
3
- " es2015-minimal " ,
3
+ [ " es2015" , { "loose" : true }] ,
4
4
" stage-0"
5
5
],
6
6
"plugins" : [
Original file line number Diff line number Diff line change 41
41
"babel-plugin-transform-class-properties" : " ^6.10.2" ,
42
42
"babel-plugin-transform-react-jsx" : " ^6.8.0" ,
43
43
"babel-preset-es2015" : " ^6.9.0" ,
44
- "babel-preset-es2015-minimal" : " ^2.0.0" ,
45
- "babel-preset-es2015-minimal-rollup" : " ^2.1.0" ,
46
44
"babel-preset-stage-0" : " ^6.5.0" ,
47
45
"babel-register" : " ^6.9.0" ,
48
46
"chai" : " ^3.5.0" ,
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ import memory from 'rollup-plugin-memory';
5
5
import babel from 'rollup-plugin-babel' ;
6
6
7
7
let babelRc = JSON . parse ( fs . readFileSync ( './.babelrc' ) ) ;
8
+ babelRc . presets [ 0 ] [ 1 ] . modules = false ;
8
9
9
10
let entry = process . env . ENTRY || 'index' ;
10
11
@@ -27,7 +28,7 @@ export default {
27
28
babelrc : false ,
28
29
comments : false ,
29
30
exclude : [ ] ,
30
- presets : [ 'es2015-minimal-rollup' ] . concat ( babelRc . presets . slice ( 1 ) ) ,
31
+ presets : babelRc . presets ,
31
32
plugins : babelRc . plugins
32
33
} )
33
34
]
You can’t perform that action at this time.
0 commit comments