mirror of
https://github.com/flarum/framework.git
synced 2025-03-04 01:21:54 +08:00
fix(webpack-config): split chunks can fail in dev mode (#3911)
This commit is contained in:
parent
e4e0fbff73
commit
577fc3e6a8
@ -102,6 +102,7 @@ module.exports = function () {
|
||||
optimization: {
|
||||
splitChunks: {
|
||||
chunks: 'async',
|
||||
maxAsyncRequests: 1,
|
||||
cacheGroups: {
|
||||
// Avoid node_modules being split into separate chunks
|
||||
defaultVendors: false,
|
||||
|
Loading…
x
Reference in New Issue
Block a user