We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
es2015
1 parent 3464d9e commit b0af53fCopy full SHA for b0af53f
lib/creator/yeoman/webpack-generator.js
@@ -94,7 +94,7 @@ module.exports = class WebpackGenerator extends Generator {
94
]).then( (ans) => {
95
if(ans['babelConfirm'] === true) {
96
this.configuration.config.webpackOptions.module.rules.push(getBabelPlugin());
97
- this.npmInstalls.push('babel-loader', 'babel-core', 'babel-preset-env');
+ this.npmInstalls.push('babel-loader', 'babel-core', 'babel-preset-es2015');
98
}
99
}).then( () => {
100
this.prompt([
0 commit comments