You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@answer.apache.org by sh...@apache.org on 2024/03/14 02:41:22 UTC

(incubator-answer) 01/01: fix: hide split componnets

This is an automated email from the ASF dual-hosted git repository.

shuai pushed a commit to branch feat/1.3.0/ui
in repository https://gitbox.apache.org/repos/asf/incubator-answer.git

commit 741591de45324c98ca62eff791eb03615dbaa899
Author: shuai <li...@sifou.com>
AuthorDate: Thu Mar 14 10:41:09 2024 +0800

    fix: hide split componnets
---
 ui/config-overrides.js | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

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)[\/]/,