We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 897b742 commit 1280f74Copy full SHA for 1280f74
1 file changed
packages/webpack-cli/src/webpack-cli.ts
@@ -664,27 +664,6 @@ class WebpackCLI {
664
}
665
666
667
- command.hook("preAction", async (thisCommand) => {
668
- const opts = thisCommand.opts();
669
-
670
- if (typeof opts.help === "undefined") {
671
- return;
672
- }
673
674
- const isVerbose = opts.help === "verbose";
675
676
- this.program.forHelp = true;
677
678
- const commandHelpData = this.#buildCommandHelpData(
679
- thisCommand as Command,
680
- this.program,
681
- isVerbose,
682
- );
683
- renderCommandHelp(commandHelpData, this.#renderOptions());
684
- renderFooter(this.#renderOptions(), { verbose: isVerbose });
685
- process.exit(0);
686
- });
687
688
command.action(options.action);
689
690
return command;
0 commit comments