Skip to content

Commit 2a5b76d

Browse files
committed
Overriding default webpack performance config to reduce warnings
1 parent c8c141f commit 2a5b76d

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

webpack/webpack.common.js

+7-1
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,12 @@ module.exports = env => {
185185
stream: env.stream
186186
}),
187187
new configDiffPlugin()
188-
]
188+
],
189+
performance: {
190+
hints: false,
191+
maxEntrypointSize: 512000,
192+
maxAssetSize: 512000
193+
}
194+
189195
};
190196
};

0 commit comments

Comments
 (0)