From 5fb93afb24495189a532e943b2126dcb6a35bd2c Mon Sep 17 00:00:00 2001 From: hide_d Date: Fri, 28 Jan 2022 01:32:45 +0900 Subject: [PATCH] =?UTF-8?q?build:=20warning=20=EA=B8=B0=EC=A4=80=20?= =?UTF-8?q?=EB=B3=80=EA=B2=BD=20-=205MB,=203MB.......?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- webpack.config.cjs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/webpack.config.cjs b/webpack.config.cjs index 6ebc5a89..f959cc52 100644 --- a/webpack.config.cjs +++ b/webpack.config.cjs @@ -89,6 +89,11 @@ module.exports = (env, argv) => { moduleIds: 'deterministic', }; + const performance = { + maxAssetSize: 5*1024*1024, + maxEntrypointSize: 3*1024*1024, + } + const ingame_vue = { name: `ingame_${versionTarget}_vue`, resolve: { @@ -200,6 +205,7 @@ module.exports = (env, argv) => { cacheDirectory, cacheLocation: path.resolve(cacheDirectory, `ingame_vue_${mode}`) }, + performance, }; const ingame = { name: `ingame_${versionTarget}`, @@ -275,6 +281,7 @@ module.exports = (env, argv) => { cacheDirectory, cacheLocation: path.resolve(cacheDirectory, `ingame_ts_${mode}`) }, + performance, }; const gateway = { name: `gateway`, @@ -355,6 +362,7 @@ module.exports = (env, argv) => { cacheDirectory, cacheLocation: path.resolve(cacheDirectory, `gateway_ts_${mode}`) }, + performance, }; if (env.WEBPACK_WATCH || !versionValue) {