File tree Expand file tree Collapse file tree 1 file changed +0
-26
lines changed
Expand file tree Collapse file tree 1 file changed +0
-26
lines changed Original file line number Diff line number Diff line change @@ -11,34 +11,8 @@ const nextConfig = {
1111 } ,
1212 webpack : ( config , { isServer } ) => {
1313 if ( ! isServer && mode === 'production' ) {
14- // 커스텀 splitChunks 설정
1514 config . optimization . splitChunks = {
1615 chunks : 'all' ,
17- minSize : 20000 ,
18- maxSize : 0 ,
19- minChunks : 1 ,
20- maxAsyncRequests : 30 ,
21- maxInitialRequests : 30 ,
22- automaticNameDelimiter : '~' ,
23- cacheGroups : {
24- reactVendors : {
25- test : / [ \\ / ] n o d e _ m o d u l e s [ \\ / ] ( r e a c t | r e a c t - d o m ) [ \\ / ] / ,
26- name : 'react-vendors' ,
27- chunks : 'all' ,
28- priority : 20 ,
29- } ,
30- vendors : {
31- test : / [ \\ / ] n o d e _ m o d u l e s [ \\ / ] / ,
32- name : 'vendors' ,
33- chunks : 'all' ,
34- priority : - 10 ,
35- } ,
36- default : {
37- minChunks : 2 ,
38- priority : - 20 ,
39- reuseExistingChunk : true ,
40- } ,
41- } ,
4216 } ;
4317
4418 config . optimization . minimizer = [
You can’t perform that action at this time.
0 commit comments