Skip to content

Commit

Permalink
fix: test env use production, scan code
Browse files Browse the repository at this point in the history
  • Loading branch information
hubcarl committed Jun 29, 2018
1 parent 352ec6f commit f617f6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ class Config {
this.dev = true;
this.mergeConfig(defaultConfig.devConfig);
}
this.webpackConfig.mode = this.prod ? 'production' : 'development';
this.webpackConfig.mode = this.test || this.prod ? 'production' : 'development';
}

mergeConfig(config, override = false) {
Expand Down

0 comments on commit f617f6e

Please sign in to comment.