From d192047a34870066273c2ca319fdc6e15f16c165 Mon Sep 17 00:00:00 2001 From: Shu Ding Date: Tue, 4 Oct 2022 19:03:42 +0200 Subject: [PATCH] Remove unnecessary `moduleId` option (#41160) `deterministic` should be already the default option here. --- packages/next/build/webpack-config.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/next/build/webpack-config.ts b/packages/next/build/webpack-config.ts index 08b1df110e143..99ca9bbb1ab88 100644 --- a/packages/next/build/webpack-config.ts +++ b/packages/next/build/webpack-config.ts @@ -1285,7 +1285,6 @@ export default async function getBaseWebpackConfig( emitOnErrors: !dev, checkWasmTypes: false, nodeEnv: false, - ...(hasServerComponents ? { moduleIds: 'deterministic' } : {}), splitChunks: ((): | Required['optimization']['splitChunks'] | false => {