mirror of
https://github.com/flarum/core.git
synced 2025-08-06 08:27:42 +02:00
fix(webpack-config): split chunks can fail in dev mode (#3911)
This commit is contained in:
@@ -102,6 +102,7 @@ module.exports = function () {
|
|||||||
optimization: {
|
optimization: {
|
||||||
splitChunks: {
|
splitChunks: {
|
||||||
chunks: 'async',
|
chunks: 'async',
|
||||||
|
maxAsyncRequests: 1,
|
||||||
cacheGroups: {
|
cacheGroups: {
|
||||||
// Avoid node_modules being split into separate chunks
|
// Avoid node_modules being split into separate chunks
|
||||||
defaultVendors: false,
|
defaultVendors: false,
|
||||||
|
Reference in New Issue
Block a user