From b6a30ad94a100440b040b3533d90960582bc42b0 Mon Sep 17 00:00:00 2001 From: Dhruvdutt Jadhav Date: Tue, 20 Mar 2018 06:56:58 +0530 Subject: [PATCH] cli(init): add webpack-cli dep (#347) --- lib/generators/init-generator.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/generators/init-generator.js b/lib/generators/init-generator.js index 9bc7b62df79..ce1c9a4dd16 100644 --- a/lib/generators/init-generator.js +++ b/lib/generators/init-generator.js @@ -31,7 +31,11 @@ module.exports = class InitGenerator extends Generator { constructor(args, opts) { super(args, opts); this.isProd = false; - this.dependencies = ["webpack", "uglifyjs-webpack-plugin"]; + this.dependencies = [ + "webpack", + "webpack-cli", + "uglifyjs-webpack-plugin" + ]; this.configuration = { config: { webpackOptions: {},