From c2297464bc3941042b8ed7a2d98ec4001733fe9a Mon Sep 17 00:00:00 2001 From: Igor Randjelovic Date: Mon, 29 Mar 2021 13:58:22 +0200 Subject: [PATCH] fix: print errorDetails with env.verbose --- packages/webpack5/src/bin/index.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/webpack5/src/bin/index.ts b/packages/webpack5/src/bin/index.ts index edcb91c94..fa530ffe9 100644 --- a/packages/webpack5/src/bin/index.ts +++ b/packages/webpack5/src/bin/index.ts @@ -45,8 +45,6 @@ program .description('Build...') .option('--env [name]', 'environment name') .option('--config [path]', 'config path') - // .option('--hmr', 'enable HMR') - // .option('--no-hmr', 'disable HMR') .option('--watch', 'watch for changes') .allowUnknownOption() .action((options, command) => { @@ -104,6 +102,7 @@ program stats.toString({ chunks: false, colors: true, + errorDetails: env.verbose, }) ); }