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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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,