Skip to content

Commit 133997f

Browse files
committed
#351 feat(fe): 조건문 제거
1 parent fcfaf94 commit 133997f

File tree

1 file changed

+0
-26
lines changed

1 file changed

+0
-26
lines changed

src/frontend/apps/web/next.config.mjs

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff 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: /[\\/]node_modules[\\/](react|react-dom)[\\/]/,
26-
name: 'react-vendors',
27-
chunks: 'all',
28-
priority: 20,
29-
},
30-
vendors: {
31-
test: /[\\/]node_modules[\\/]/,
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 = [

0 commit comments

Comments
 (0)