Skip to content

Commit 385a672

Browse files
committed
feat: use webpack.config as default name in dev scaffold
1 parent 62ab32d commit 385a672

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/generators/init-generator.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ export default class InitGenerator extends Generator {
139139
})
140140
.then((_: void) => {
141141
this.isProd = this.usingDefaults ? true : false;
142-
this.configuration.config.configName = this.isProd ? "prod" : "dev";
142+
this.configuration.config.configName = this.isProd ? "prod" : "config";
143143
if (!this.isProd) {
144144
this.configuration.config.webpackOptions.mode = "'development'";
145145
}

0 commit comments

Comments
 (0)