Unverified Commit 56c5abd3 authored by JJ Kasper's avatar JJ Kasper Committed by GitHub

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)
parent 75e5616c
...@@ -511,10 +511,6 @@ function assignDefaults(userConfig: { [key: string]: any }) { ...@@ -511,10 +511,6 @@ function assignDefaults(userConfig: { [key: string]: any }) {
result.compiler.removeConsole = (result.experimental as any).removeConsole 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) { if (result.experimental?.swcMinifyDebugOptions) {
Log.warn( Log.warn(
'SWC minify debug option specified. This option is for debugging minifier issues and will be removed once SWC minifier is stable.' 'SWC minify debug option specified. This option is for debugging minifier issues and will be removed once SWC minifier is stable.'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment