Skip to content

Commit

Permalink
fix: logic
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-akait committed Feb 2, 2021
1 parent 2d9dd01 commit a924bf4
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions packages/webpack-cli/lib/webpack-cli.js
Expand Up @@ -1665,11 +1665,10 @@ class WebpackCLI {
}

async createCompiler(options, callback) {
let config = await this.resolveConfig(options);

// apply process.env.NODE_ENV with the help of --node-env
this.applyNodeEnv(options);

let config = await this.resolveConfig(options);

config = await this.applyOptions(config, options);
config = await this.applyCLIPlugin(config, options);

Expand Down

0 comments on commit a924bf4

Please sign in to comment.