From c8991e275e2f9dfdbbe52427c3a49fa28cc4b181 Mon Sep 17 00:00:00 2001 From: Shu Ding Date: Fri, 17 Feb 2023 22:37:05 +0100 Subject: [PATCH] Apply suggestions from code review --- packages/next/src/build/webpack-config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/next/src/build/webpack-config.ts b/packages/next/src/build/webpack-config.ts index e54455a24af9b..45d3644db8423 100644 --- a/packages/next/src/build/webpack-config.ts +++ b/packages/next/src/build/webpack-config.ts @@ -905,8 +905,8 @@ export default async function getBaseWebpackConfig( [COMPILER_NAMES.client]: ['browser', 'module', 'main'], [COMPILER_NAMES.edgeServer]: [ 'edge-light', - 'browser', 'worker', + 'browser', 'module', 'main', ],