File tree 3 files changed +4
-7
lines changed
3 files changed +4
-7
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ "presets" : [" es2015" ]
3
+ }
Original file line number Diff line number Diff line change @@ -49,11 +49,7 @@ module.exports = function (content) {
49
49
var defaultLoaders = {
50
50
html : templateCompilerPath + '?id=' + moduleId ,
51
51
css : styleLoaderPath + '!css-loader' + ( needCssSourceMap ? '?sourceMap' : '' ) ,
52
- js : hasBabel
53
- ? this . options . babel
54
- ? 'babel-loader' // respect user options
55
- : 'babel-loader?presets[]=es2015&plugins[]=transform-runtime&comments=false'
56
- : ''
52
+ js : hasBabel ? 'babel-loader' : ''
57
53
}
58
54
59
55
// check if there are custom loaders specified via
Original file line number Diff line number Diff line change 47
47
"devDependencies" : {
48
48
"babel-core" : " ^6.8.0" ,
49
49
"babel-loader" : " ^6.2.4" ,
50
- "babel-plugin-transform-runtime" : " ^6.8.0" ,
51
50
"babel-preset-es2015" : " ^6.6.0" ,
52
- "babel-runtime" : " ^6.0.0" ,
53
51
"chai" : " ^3.0.0" ,
54
52
"coffee-loader" : " ^0.7.2" ,
55
53
"coffee-script" : " ^1.10.0" ,
You can’t perform that action at this time.
0 commit comments