change maxEntrypointSize for webpack.build in production

This commit is contained in:
raphael 2021-05-05 20:58:11 +02:00
parent 202c12f353
commit b53036495d

View File

@ -3,6 +3,11 @@ const baseConfig = require("./webpack.base");
module.exports = merge(baseConfig, { module.exports = merge(baseConfig, {
mode: "production", mode: "production",
performance: {
hints: false,
maxEntrypointSize: 512000,
maxAssetSize: 512000,
},
optimization: { optimization: {
minimize: true, minimize: true,
nodeEnv: "production", nodeEnv: "production",