Skip to content

Commit 226a728

Browse files
committed
fix(): merge chunks
1 parent 202645f commit 226a728

File tree

1 file changed

+2
-17
lines changed

1 file changed

+2
-17
lines changed

packages/brick-container/build.config.js

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -118,27 +118,12 @@ export default {
118118
mockdate: {
119119
test: /[\\/]node_modules[\\/]mockdate[\\/]/,
120120
priority: -5,
121-
reuseExistingChunk: true,
122121
name: "mockdate",
123122
minSize: 100,
124123
},
125-
defaultVendors: {
126-
test: /[\\/]node_modules[\\/]/,
124+
all: {
127125
priority: -10,
128-
reuseExistingChunk: true,
129-
name: "vendors",
130-
},
131-
core: {
132-
// Make it compatible with EasyOps CI.
133-
test: /[\\/](?:next-core|data[\\/]easyops)[\\/](?:packages|sdk)[\\/](?!theme[\\/])/,
134-
priority: -10,
135-
reuseExistingChunk: true,
136-
name: "core",
137-
},
138-
default: {
139-
minChunks: 2,
140-
priority: -20,
141-
reuseExistingChunk: true,
126+
name: "all",
142127
},
143128
},
144129
},

0 commit comments

Comments
 (0)