main
Last change
on this file was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 4 days ago |
F4 Finalna Verzija
|
-
Property mode
set to
100644
|
File size:
393 bytes
|
Rev | Line | |
---|
[79a0317] | 1 | "use strict";
|
---|
| 2 | Object.defineProperty(exports, "__esModule", { value: true });
|
---|
| 3 | const WebpackCLI = require("./webpack-cli");
|
---|
| 4 | const runCLI = async (args) => {
|
---|
| 5 | // Create a new instance of the CLI object
|
---|
| 6 | const cli = new WebpackCLI();
|
---|
| 7 | try {
|
---|
| 8 | await cli.run(args);
|
---|
| 9 | }
|
---|
| 10 | catch (error) {
|
---|
| 11 | cli.logger.error(error);
|
---|
| 12 | process.exit(2);
|
---|
| 13 | }
|
---|
| 14 | };
|
---|
| 15 | module.exports = runCLI;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.