From 56c5abd3de120551d65f6d43c385c9c460672f6f Mon Sep 17 00:00:00 2001 From: JJ Kasper Date: Thu, 8 Sep 2022 08:43:20 -0700 Subject: [PATCH] Remove warning for swcMinify being enabled (#40359) This removes the warning for `swcMinify` as a release candidate as it is now being marked as stable. x-ref: [slack thread](https://vercel.slack.com/archives/CGU8HUTUH/p1662647498560729) ## Documentation / Examples - [ ] Make sure the linting passes by running `pnpm lint` - [ ] The examples guidelines are followed from [our contributing doc](https://github.com/vercel/next.js/blob/canary/contributing.md#adding-examples) --- packages/next/server/config.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/packages/next/server/config.ts b/packages/next/server/config.ts index e5c1260a8d10..07406b6b32c0 100644 --- a/packages/next/server/config.ts +++ b/packages/next/server/config.ts @@ -511,10 +511,6 @@ function assignDefaults(userConfig: { [key: string]: any }) { result.compiler.removeConsole = (result.experimental as any).removeConsole } - if (result.swcMinify) { - Log.info('SWC minify release candidate enabled. https://nextjs.link/swcmin') - } - if (result.experimental?.swcMinifyDebugOptions) { Log.warn( 'SWC minify debug option specified. This option is for debugging minifier issues and will be removed once SWC minifier is stable.'