Skip to content

Commit

Permalink
fix: Deps 'webpack' and 'uglifyjs-webpack-plugin' not installed when …
Browse files Browse the repository at this point in the history
…user answers yes to 'using ES2015' (#135). (#136)
  • Loading branch information
nilliams authored and evenstensberg committed May 12, 2017
1 parent 45b9ffd commit 524f035
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/creator/yeoman/webpack-generator.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ module.exports = class WebpackGenerator extends Generator {
]).then( (ans) => {
if(ans['babelConfirm'] === true) {
this.configuration.config.webpackOptions.module.rules.push(getBabelPlugin());
this.npmInstalls = ['babel-loader', 'babel-core', 'babel-preset-env'];
this.npmInstalls.push('babel-loader', 'babel-core', 'babel-preset-env');
}
}).then( () => {
this.prompt([
Expand Down

0 comments on commit 524f035

Please sign in to comment.