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: remove node-async chunks

shuai4a92adfcc2b0
diff --git a/ui/config-overrides.js b/ui/config-overrides.js
index 18237a1f..4ce6f895 100644
--- a/ui/config-overrides.js
+++ b/ui/config-overrides.js
@@ -104,14 +104,6 @@ module.exports = {
chunks: 'all',
enforce: true,
},
- nodesAsync: {
- name: 'chunk-nodesAsync',
- test: /[\/]node_modules[\/]/,
- priority: 2,
- minChunks: 2,
- chunks: 'async', // only package dependencies that are referenced asynchronously
- reuseExistingChunk: true, // reuse an existing block
- },
nodesInitial: {
name: 'chunk-nodesInitial',
filename: 'static/js/[name].[contenthash:8].chunk.js',