1
0
mirror of https://github.com/flarum/core.git synced 2025-08-03 15:07:53 +02:00

fix(webpack-config): split chunks can fail in dev mode (#3911)

This commit is contained in:
Sami Mazouz
2023-10-27 15:27:11 +01:00
committed by GitHub
parent e4e0fbff73
commit 577fc3e6a8

View File

@@ -102,6 +102,7 @@ module.exports = function () {
optimization: {
splitChunks: {
chunks: 'async',
maxAsyncRequests: 1,
cacheGroups: {
// Avoid node_modules being split into separate chunks
defaultVendors: false,