A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.
fix: components split chunks
shuaiaf310a0f4476
diff --git a/ui/config-overrides.js b/ui/config-overrides.jsindex 9d1a3a7a..0df95a9b 100644--- a/ui/config-overrides.js+++ b/ui/config-overrides.js@@ -44,6 +44,14 @@ module.exports = {minChunks: 2,cacheGroups: {automaticNamePrefix: 'chunk',+ components: {+ test: /[\\/]components[\\/]/,+ name: 'components',+ priority: 14,+ reuseExistingChunk: true,+ minChunks: 1,+ chunks: 'initial',+ },i18next: {name: 'i18next',test: /[\/]node_modules[\/](i18next)[\/]/,