Skip to content

Commit 2ba834a

Browse files
committed
no defaul cache groups
1 parent aab281d commit 2ba834a

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

packages/suite-build/configs/base.webpack.config.ts

+12-12
Original file line numberDiff line numberDiff line change
@@ -63,18 +63,18 @@ const config: webpack.Configuration = {
6363
optimization: {
6464
splitChunks: {
6565
cacheGroups: {
66-
react: {
67-
chunks: 'initial',
68-
name: 'react',
69-
test: /[\\/]node_modules[\\/]react/,
70-
priority: -10,
71-
},
72-
vendors: {
73-
chunks: 'initial',
74-
name: 'vendors',
75-
test: /[\\/]node_modules[\\/](?!react)/,
76-
priority: -15,
77-
},
66+
// react: {
67+
// chunks: 'initial',
68+
// name: 'react',
69+
// test: /[\\/]node_modules[\\/]react/,
70+
// priority: -10,
71+
// },
72+
// vendors: {
73+
// chunks: 'initial',
74+
// name: 'vendors',
75+
// test: /[\\/]node_modules[\\/](?!react)/,
76+
// priority: -15,
77+
// },
7878
components: {
7979
chunks: 'initial',
8080
name: 'components',

0 commit comments

Comments
 (0)