From 16fb37910f1e1a3ca4e11d053d38f80bc355f9ce Mon Sep 17 00:00:00 2001 From: goodmice Date: Mon, 21 Nov 2022 11:31:33 +0500 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=BF=D0=BE=D0=BB=D0=BD=D0=B5?= =?UTF-8?q?=D0=BD=D1=8B=20=D0=BA=D0=BE=D1=84=D0=B8=D0=B3=D1=83=D1=80=D0=B0?= =?UTF-8?q?=D1=86=D0=B8=D0=B8=20webpack?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- webpack.config.base.js | 7 +++++++ webpack.config.prod.js | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/webpack.config.base.js b/webpack.config.base.js index 4ae05b6..1432620 100644 --- a/webpack.config.base.js +++ b/webpack.config.base.js @@ -18,6 +18,13 @@ module.exports = { context: ['/api', '/auth', '/hubs'], target: proxy, }, + client: { + overlay: { + errors: true, + warnings: false, + }, + progress: true, + }, }, optimization: { splitChunks: { diff --git a/webpack.config.prod.js b/webpack.config.prod.js index 3923b57..8a9f47a 100644 --- a/webpack.config.prod.js +++ b/webpack.config.prod.js @@ -6,7 +6,7 @@ module.exports = { mode: 'production', performance: { assetFilter: (assetFilename) => !/\.map$/.test(assetFilename), - hints: 'error', + hints: 'warning', maxAssetSize: 300 * 1024, // 300KB }, cache: false,