mirror of
https://github.com/flarum/framework.git
synced 2024-11-22 11:16:39 +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…
Reference in New Issue
Block a user