dream2nix/overrides/nodejs/webpack-cli/remove-webpack-check.patch

13 lines
384 B
Diff

diff --git a/packages/webpack-cli/bin/cli.js b/packages/webpack-cli/bin/cli.js
--- a/bin/cli.js
+++ b/bin/cli.js
@@ -21,7 +21,7 @@ if (!process.env.WEBPACK_CLI_SKIP_IMPORT_LOCAL) {
process.title = "webpack";
-if (utils.packageExists("webpack")) {
+if (true) {
runCLI(process.argv, originalModuleCompile);
} else {
const { promptInstallation, logger, colors } = utils;