Skip to content

Commit c1c0df0

Browse files
anu-007ematipico
authored andcommitted
fix(init): output file name for single output (#403)
improved output filename
1 parent 12ee2bf commit c1c0df0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/generators/init-generator.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ module.exports = class InitGenerator extends Generator {
102102
};
103103
} else {
104104
this.configuration.config.webpackOptions.output = {
105-
filename: "'[name].bundle.js'"
105+
filename: "'[name].[chunkhash].js'"
106106
};
107107
}
108108
if (outputTypeAnswer["outputType"].length) {

0 commit comments

Comments
 (0)