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.
1 parent 45b9ffd commit 524f035Copy full SHA for 524f035
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 = ['babel-loader', 'babel-core', 'babel-preset-env'];
+ this.npmInstalls.push('babel-loader', 'babel-core', 'babel-preset-env');
98
}
99
}).then( () => {
100
this.prompt([
0 commit comments