Skip to content

Commit

Permalink
Add swcMinify to the Upgrade Guide (#41521)
Browse files Browse the repository at this point in the history
Follow up to:

- #41506
  • Loading branch information
styfle committed Oct 18, 2022
1 parent a367989 commit 9775111
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/upgrading.md
Expand Up @@ -8,6 +8,8 @@ description: Learn how to upgrade Next.js.

The minimum Node.js version has been bumped from 12.22.0 to 14.0.0, since 12.x has reached end-of-life.

The `swcMinify` configuration property was changed from `false` to `true`. See [Next.js Compiler](/docs/advanced-features/compiler.md) for more info.

The `next/image` import was renamed to `next/legacy/image`. The `next/future/image` import was renamed to `next/image`.
A [codemod is available](/docs/advanced-features/codemods.md#next-image-to-legacy-image) to safely and automatically rename your imports.

Expand Down

0 comments on commit 9775111

Please sign in to comment.