File tree Expand file tree Collapse file tree 3 files changed +4
-7
lines changed Expand file tree Collapse file tree 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) {
4949 var defaultLoaders = {
5050 html : templateCompilerPath + '?id=' + moduleId ,
5151 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' : ''
5753 }
5854
5955 // check if there are custom loaders specified via
Original file line number Diff line number Diff line change 4747 "devDependencies" : {
4848 "babel-core" : " ^6.8.0" ,
4949 "babel-loader" : " ^6.2.4" ,
50- "babel-plugin-transform-runtime" : " ^6.8.0" ,
5150 "babel-preset-es2015" : " ^6.6.0" ,
52- "babel-runtime" : " ^6.0.0" ,
5351 "chai" : " ^3.0.0" ,
5452 "coffee-loader" : " ^0.7.2" ,
5553 "coffee-script" : " ^1.10.0" ,
You can’t perform that action at this time.
0 commit comments