Skip to content

Commit

Permalink
feat: add WEBPACK_PACKAGE env variable
Browse files Browse the repository at this point in the history
  • Loading branch information
snitin315 committed Mar 25, 2021
1 parent 6fb1215 commit 20b33fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/webpack-cli/lib/webpack-cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const utils = require('./utils');
class WebpackCLI {
constructor() {
// Global
this.webpack = require('webpack');
this.webpack = require(process.env.WEBPACK_PACKAGE || 'webpack');
this.logger = utils.logger;
this.utils = utils;

Expand Down

0 comments on commit 20b33fd

Please sign in to comment.