main
Last change
on this file was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 4 days ago |
F4 Finalna Verzija
|
-
Property mode
set to
100755
|
File size:
330 bytes
|
Rev | Line | |
---|
[79a0317] | 1 | #!/usr/bin/env node
|
---|
| 2 |
|
---|
| 3 | "use strict";
|
---|
| 4 |
|
---|
| 5 | const importLocal = require("import-local");
|
---|
| 6 | const runCLI = require("../lib/bootstrap");
|
---|
| 7 |
|
---|
| 8 | if (!process.env.WEBPACK_CLI_SKIP_IMPORT_LOCAL) {
|
---|
| 9 | // Prefer the local installation of `webpack-cli`
|
---|
| 10 | if (importLocal(__filename)) {
|
---|
| 11 | return;
|
---|
| 12 | }
|
---|
| 13 | }
|
---|
| 14 |
|
---|
| 15 | process.title = "webpack";
|
---|
| 16 |
|
---|
| 17 | runCLI(process.argv);
|
---|
Note:
See
TracBrowser
for help on using the repository browser.