fix: hide split componnets

This commit is contained in:
shuai
2024-03-14 10:41:09 +08:00
parent cd091097e8
commit 741591de45
+8 -8
View File
@@ -44,14 +44,14 @@ module.exports = {
minChunks: 2,
cacheGroups: {
automaticNamePrefix: 'chunk',
components: {
test: /[\\/]components[\\/]/,
name: 'components',
priority: 14,
reuseExistingChunk: true,
minChunks: 1,
chunks: 'initial',
},
// components: {
// test: /[\\/]components[\\/]/,
// name: 'components',
// priority: 14,
// reuseExistingChunk: true,
// minChunks: 1,
// chunks: 'initial',
// },
i18next: {
name: 'i18next',
test: /[\/]node_modules[\/](i18next)[\/]/,