Skip to content

Commit

Permalink
chore(webpack-cli): improve import-local
Browse files Browse the repository at this point in the history
  • Loading branch information
snitin315 committed Mar 18, 2020
1 parent 6eecb26 commit 1863015
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions packages/webpack-cli/bin/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,12 @@ const parseArgs = require('../lib/utils/parse-args');
const runner = require('../lib/runner');

// Prefer the local installation of webpack-cli
if (importLocal(__filename)) {
// return;
}
(() => {
if (importLocal(__filename)) {
return;
}
})();

process.title = 'webpack';

const [, , ...rawArgs] = process.argv;
Expand Down

0 comments on commit 1863015

Please sign in to comment.