Skip to content

Commit

Permalink
feat: use webpack.config as default name in dev scaffold
Browse files Browse the repository at this point in the history
  • Loading branch information
evenstensberg committed Feb 5, 2019
1 parent 62ab32d commit 385a672
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/generators/init-generator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ export default class InitGenerator extends Generator {
})
.then((_: void) => {
this.isProd = this.usingDefaults ? true : false;
this.configuration.config.configName = this.isProd ? "prod" : "dev";
this.configuration.config.configName = this.isProd ? "prod" : "config";
if (!this.isProd) {
this.configuration.config.webpackOptions.mode = "'development'";
}
Expand Down

0 comments on commit 385a672

Please sign in to comment.