Commit b722e42 1 parent aab281d commit b722e42 Copy full SHA for b722e42
File tree 1 file changed +22
-22
lines changed
packages/suite-build/configs
1 file changed +22
-22
lines changed Original file line number Diff line number Diff line change @@ -61,28 +61,28 @@ const config: webpack.Configuration = {
61
61
} ,
62
62
} ,
63
63
optimization : {
64
- splitChunks : {
65
- cacheGroups : {
66
- react : {
67
- chunks : 'initial' ,
68
- name : 'react' ,
69
- test : / [ \\ / ] n o d e _ m o d u l e s [ \\ / ] r e a c t / ,
70
- priority : - 10 ,
71
- } ,
72
- vendors : {
73
- chunks : 'initial' ,
74
- name : 'vendors' ,
75
- test : / [ \\ / ] n o d e _ m o d u l e s [ \\ / ] (? ! r e a c t ) / ,
76
- priority : - 15 ,
77
- } ,
78
- components : {
79
- chunks : 'initial' ,
80
- name : 'components' ,
81
- test : / [ \\ / ] p a c k a g e s [ \\ / ] c o m p o n e n t s [ \\ / ] / ,
82
- priority : - 20 ,
83
- } ,
84
- } ,
85
- } ,
64
+ // splitChunks: {
65
+ // 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
+ // },
78
+ // components: {
79
+ // chunks: 'initial',
80
+ // name: 'components',
81
+ // test: /[\\/]packages[\\/]components[\\/]/,
82
+ // priority: -20,
83
+ // },
84
+ // },
85
+ // },
86
86
minimizer : [
87
87
new TerserPlugin ( {
88
88
exclude : / s t a t i c \/ c o n n e c t / , // connect is already minimized with specific rules
You can’t perform that action at this time.
0 commit comments