Skip to content

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: hide split componnets

shuai741591de4532
diff --git a/ui/config-overrides.js b/ui/config-overrides.js
index 0df95a9b..770d8096 100644
--- a/ui/config-overrides.js
+++ b/ui/config-overrides.js
@@ -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)[\/]/,