npm install babel-runtime --save
然后
loaders: [{ test: /\.js$/, exclude: /node_modules/, loader: 'babel-loader?optional[]=runtime'}]
这里得追加上
optional[]=runtime'
https://github.com/babel/babel-loader
http://babeljs.io/docs/usage/options/
http://babeljs.io/docs/usage/runtime/
Nice post ! Thanks for sharing valuable information with us. Keep sharing..AngularJS 5 Online Training Bangalore
回复删除