Skip to content

Commit 31fa546

Browse files
committed
no defaul cache groups
1 parent aab281d commit 31fa546

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,24 +63,24 @@ 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-
},
66+
// react: {
67+
// chunks: 'initial',
68+
// name: 'react',
69+
// test: /[\\/]node_modules[\\/]react/,
70+
// priority: -10,
71+
// },
7272
vendors: {
7373
chunks: 'initial',
7474
name: 'vendors',
7575
test: /[\\/]node_modules[\\/](?!react)/,
7676
priority: -15,
7777
},
78-
components: {
79-
chunks: 'initial',
80-
name: 'components',
81-
test: /[\\/]packages[\\/]components[\\/]/,
82-
priority: -20,
83-
},
78+
// components: {
79+
// chunks: 'initial',
80+
// name: 'components',
81+
// test: /[\\/]packages[\\/]components[\\/]/,
82+
// priority: -20,
83+
// },
8484
},
8585
},
8686
minimizer: [

0 commit comments

Comments
 (0)