From a82b5aed9b3ccbb6d10d2feefc8769d88ecc5513 Mon Sep 17 00:00:00 2001 From: Alex Castle Date: Fri, 18 Oct 2019 10:36:03 -0700 Subject: [PATCH] Update granular chunks to produce up to 25 chunks per entrypoint on high-complexity apps (#9129) --- packages/next/build/webpack-config.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/next/build/webpack-config.ts b/packages/next/build/webpack-config.ts index e0fcd675a6..bf049ee6ea 100644 --- a/packages/next/build/webpack-config.ts +++ b/packages/next/build/webpack-config.ts @@ -282,7 +282,8 @@ export default async function getBaseWebpackConfig( reuseExistingChunk: true, }, }, - maxInitialRequests: 20, + maxInitialRequests: 25, + minSize: 20000, }, } -- GitLab