Skip to content

Commit

Permalink
Remove warning for swcMinify being enabled (#40359)
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
ijjk committed Sep 8, 2022
1 parent 75e5616 commit 56c5abd
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions packages/next/server/config.ts
Expand Up @@ -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.'
Expand Down

0 comments on commit 56c5abd

Please sign in to comment.