improved viewers

This commit is contained in:
Andrea Pozzetti
2025-11-16 13:39:43 +01:00
parent c19e5829d7
commit 1678566c11
5324 changed files with 606218 additions and 29 deletions
+17
View File
@@ -0,0 +1,17 @@
#!/usr/bin/env node
"use strict";
const importLocal = require("import-local");
const runCLI = require("../lib/bootstrap");
if (!process.env.WEBPACK_CLI_SKIP_IMPORT_LOCAL) {
// Prefer the local installation of `webpack-cli`
if (importLocal(__filename)) {
return;
}
}
process.title = "webpack";
runCLI(process.argv);