10
0

bootstrap.js 393 B

123456789101112131415
  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;