change maxEntrypointSize for webpack.build in production
This commit is contained in:
parent
202c12f353
commit
b53036495d
@ -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",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user