From 9775111ab67a5ba591a6ef20d9b9caa4729d05fd Mon Sep 17 00:00:00 2001 From: Steven Date: Tue, 18 Oct 2022 09:29:08 -0400 Subject: [PATCH] Add `swcMinify` to the Upgrade Guide (#41521) Follow up to: - #41506 --- docs/upgrading.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/upgrading.md b/docs/upgrading.md index 7c087383990b2..98a56c09bd33b 100644 --- a/docs/upgrading.md +++ b/docs/upgrading.md @@ -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.