fix: ui config-overrides update

This commit is contained in:
shuai
2024-04-19 17:41:27 +08:00
parent 588b27190e
commit eeb668e48a
+9 -27
View File
@@ -61,6 +61,15 @@ module.exports = {
minChunks: 1,
chunks: 'initial',
},
mix2: {
name: 'chunk-mix2',
test: /[\/]node_modules[\/](@remix-run|@restart|axios|diff)[\/]/,
filename: 'static/js/[name].[contenthash:8].chunk.js',
priority: 11,
reuseExistingChunk: true,
minChunks: 1,
chunks: 'initial',
},
reactBootstrap: {
name: 'react-bootstrap',
test: /[\/]node_modules[\/](react-bootstrap)[\/]/,
@@ -70,15 +79,6 @@ module.exports = {
chunks: 'initial',
reuseExistingChunk: true,
},
// lodash: {
// name: 'lodash',
// test: /[\/]node_modules[\/](lodash)[\/]/,
// filename: 'static/js/[name].[contenthash:8].chunk.js',
// priority: 10,
// reuseExistingChunk: true,
// minChunks: 1,
// chunks: 'initial',
// },
codemirror: {
name: 'codemirror',
test: /[\/]node_modules[\/](codemirror)[\/]/,
@@ -86,24 +86,6 @@ module.exports = {
reuseExistingChunk: true,
enforce: true,
},
// nextShare: {
// name: 'next-share',
// test: /[\/]node_modules[\/](next-share)[\/]/,
// filename: 'static/js/[name].[contenthash:8].chunk.js',
// priority: 8,
// reuseExistingChunk: true,
// minChunks: 1,
// chunks: 'initial',
// },
// marked: {
// name: 'marked',
// test: /[\/]node_modules[\/](marked)[\/]/,
// filename: 'static/js/[name].[contenthash:8].chunk.js',
// priority: 7,
// reuseExistingChunk: true,
// minChunks: 1,
// chunks: 'initial',
// },
reactDom: {
name: 'react-dom',
test: /[\/]node_modules[\/](react-dom)[\/]/,