File tree 2 files changed +4
-3
lines changed 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 33
33
"babel-loader" : " ^6.0.0" ,
34
34
"babel-plugin-transform-es2015-destructuring" : " ^6.19.0" ,
35
35
"babel-plugin-transform-runtime" : " ^6.22.0" ,
36
- "babel-preset-es2015 " : " ^6.0 .0" ,
36
+ "babel-preset-env " : " ^1.6 .0" ,
37
37
"cross-env" : " ^3.0.0" ,
38
38
"css-loader" : " ^0.25.0" ,
39
39
"extract-text-webpack-plugin" : " ^2.0.0-beta.5" ,
43
43
"open" : " 0.0.5" ,
44
44
"sass-loader" : " ^4.1.1" ,
45
45
"style-loader" : " ^0.13.1" ,
46
- "uglify-js" : " git://github.com/mishoo/UglifyJS2.git#harmony " ,
46
+ "uglify-js" : " ^3.0.28 " ,
47
47
"vue" : " ^2.1.0" ,
48
48
"vue-loader" : " ^10.0.0" ,
49
49
"vue-style-loader" : " ^1.0.0" ,
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ var baseConfig = {
17
17
use : [ {
18
18
loader : 'babel-loader' ,
19
19
options : {
20
- "presets" : [ [ "es2015 " ] ] ,
20
+ "presets" : [ [ "env " ] ] ,
21
21
"plugins" : [ "transform-es2015-destructuring" , "transform-runtime" ]
22
22
}
23
23
} ] ,
@@ -41,6 +41,7 @@ var baseConfig = {
41
41
options : {
42
42
loaders : {
43
43
'scss' : 'vue-style-loader!css-loader!sass-loader' ,
44
+ 'js' : 'babel-loader?presets[]=env'
44
45
}
45
46
}
46
47
}
You can’t perform that action at this time.
0 commit comments