Skip to content

Commit

Permalink
fix(init): output file name for single output (#403)
Browse files Browse the repository at this point in the history
improved output filename
  • Loading branch information
anu-007 authored and ematipico committed Apr 15, 2018
1 parent 12ee2bf commit c1c0df0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/generators/init-generator.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit c1c0df0

Please sign in to comment.