From b53036495dade6ceeb22f71e8acb488d0e52ab28 Mon Sep 17 00:00:00 2001 From: raphael Date: Wed, 5 May 2021 20:58:11 +0200 Subject: [PATCH] change maxEntrypointSize for webpack.build in production --- config/webpack.build.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/config/webpack.build.js b/config/webpack.build.js index 6e0d9c1..dff272a 100644 --- a/config/webpack.build.js +++ b/config/webpack.build.js @@ -3,6 +3,11 @@ const baseConfig = require("./webpack.base"); module.exports = merge(baseConfig, { mode: "production", + performance: { + hints: false, + maxEntrypointSize: 512000, + maxAssetSize: 512000, + }, optimization: { minimize: true, nodeEnv: "production",