From c1c0df0ddb4ad59bf01b0380b8f9d05af0c689ed Mon Sep 17 00:00:00 2001 From: Anubhuti verma Date: Sun, 15 Apr 2018 16:08:05 +0530 Subject: [PATCH] fix(init): output file name for single output (#403) improved output filename --- lib/generators/init-generator.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/generators/init-generator.js b/lib/generators/init-generator.js index 467de1fe92f..e8febc671e7 100644 --- a/lib/generators/init-generator.js +++ b/lib/generators/init-generator.js @@ -102,7 +102,7 @@ module.exports = class InitGenerator extends Generator { }; } else { this.configuration.config.webpackOptions.output = { - filename: "'[name].bundle.js'" + filename: "'[name].[chunkhash].js'" }; } if (outputTypeAnswer["outputType"].length) {