From 61f0bf174f4e1c5f59bf721f6c17c0eaeaa02d2f Mon Sep 17 00:00:00 2001 From: Pig Fang Date: Sat, 21 Aug 2021 23:06:23 +0800 Subject: [PATCH] report webpack warnings --- webpack.config.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/webpack.config.ts b/webpack.config.ts index 9c0791bf..46c68691 100644 --- a/webpack.config.ts +++ b/webpack.config.ts @@ -158,9 +158,9 @@ export default function (env?: Env): webpack.Configuration[] { host: '0.0.0.0', hot: true, hotOnly: true, - stats: 'errors-only', + stats: 'errors-warnings', }, - stats: 'errors-only', + stats: 'errors-warnings', }, { name: 'meta', @@ -189,7 +189,7 @@ export default function (env?: Env): webpack.Configuration[] { resolve: { extensions: ['.js', '.ts'], }, - stats: 'errors-only', + stats: 'errors-warnings', }, ] }