File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ module.exports = {
19
19
use : [ {
20
20
loader : 'babel-loader' ,
21
21
options : {
22
- "presets" : [ [ "es2015 " ] ] ,
22
+ "presets" : [ [ "env " ] ] ,
23
23
"plugins" : [ "transform-es2015-destructuring" , "transform-object-rest-spread" , "transform-runtime" ]
24
24
}
25
25
} ] ,
@@ -38,7 +38,8 @@ module.exports = {
38
38
// the "scss" and "sass" values for the lang attribute to the right configs here.
39
39
// other preprocessors should work out of the box, no loader config like this nessessary.
40
40
'scss' : 'vue-style-loader!css-loader!sass-loader' ,
41
- 'sass' : 'vue-style-loader!css-loader!sass-loader?indentedSyntax'
41
+ 'sass' : 'vue-style-loader!css-loader!sass-loader?indentedSyntax' ,
42
+ 'js' : 'babel-loader?presets[]=env'
42
43
}
43
44
}
44
45
}
You can’t perform that action at this time.
0 commit comments