From 82fdccbb735e1ca907aa871f347d936776c68f2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bal=C3=A1zs=20Orb=C3=A1n?= Date: Fri, 9 Sep 2022 14:18:27 +0200 Subject: [PATCH 1/4] Update compiler.md --- docs/advanced-features/compiler.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/docs/advanced-features/compiler.md b/docs/advanced-features/compiler.md index 3f2bb69033ef..d41bb9575c95 100644 --- a/docs/advanced-features/compiler.md +++ b/docs/advanced-features/compiler.md @@ -9,6 +9,7 @@ description: Learn about the Next.js Compiler, written in Rust, which transforms | Version | Changes | | --------- | ---------------------------------------------------------------------------------------------------------------------------------- | +| `v12.3.0` | SWC Minifier considered [stable](https://nextjs.org/blog/next-12-3#swc-minifier-stable). | | `v12.2.0` | [SWC Plugins](#swc-plugins-Experimental) experimental support added. | | `v12.1.0` | Added support for Styled Components, Jest, Relay, Remove React Properties, Legacy Decorators, Remove Console, and jsxImportSource. | | `v12.0.0` | Next.js Compiler [introduced](https://nextjs.org/blog/next-12). | @@ -238,8 +239,6 @@ module.exports = { Only `importMap` in `@emotion/babel-plugin` is not supported for now. -## Experimental Features - ### Minification You can opt-in to using the Next.js compiler for minification. This is 7x faster than Terser. @@ -252,7 +251,7 @@ module.exports = { } ``` -If you have feedback about `swcMinify`, please share it on the [feedback discussion](https://github.com/vercel/next.js/discussions/30237). +## Experimental Features ### Minifier debug options From 99c6115aaf3f4e7a4924b869e0bbea515a20e204 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bal=C3=A1zs=20Orb=C3=A1n?= Date: Mon, 12 Sep 2022 12:39:06 +0200 Subject: [PATCH 2/4] Update compiler.md --- docs/advanced-features/compiler.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/advanced-features/compiler.md b/docs/advanced-features/compiler.md index d41bb9575c95..a339a48e7756 100644 --- a/docs/advanced-features/compiler.md +++ b/docs/advanced-features/compiler.md @@ -251,6 +251,8 @@ module.exports = { } ``` +If you have feedback about `swcMinify`, please share it on the [feedback discussion](https://github.com/vercel/next.js/discussions/30237). + ## Experimental Features ### Minifier debug options From b7fb92200b9da3de2a4001dd0b792655a92ed31b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bal=C3=A1zs=20Orb=C3=A1n?= Date: Mon, 12 Sep 2022 12:39:11 +0200 Subject: [PATCH 3/4] Apply suggestions from code review Co-authored-by: JJ Kasper --- docs/advanced-features/compiler.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/advanced-features/compiler.md b/docs/advanced-features/compiler.md index a339a48e7756..5d12f29dab7b 100644 --- a/docs/advanced-features/compiler.md +++ b/docs/advanced-features/compiler.md @@ -9,7 +9,7 @@ description: Learn about the Next.js Compiler, written in Rust, which transforms | Version | Changes | | --------- | ---------------------------------------------------------------------------------------------------------------------------------- | -| `v12.3.0` | SWC Minifier considered [stable](https://nextjs.org/blog/next-12-3#swc-minifier-stable). | +| `v12.3.0` | SWC Minifier [stable](https://nextjs.org/blog/next-12-3#swc-minifier-stable). | | `v12.2.0` | [SWC Plugins](#swc-plugins-Experimental) experimental support added. | | `v12.1.0` | Added support for Styled Components, Jest, Relay, Remove React Properties, Legacy Decorators, Remove Console, and jsxImportSource. | | `v12.0.0` | Next.js Compiler [introduced](https://nextjs.org/blog/next-12). | From c71b44a3fa66ab0392f6c8035a34859d27fd1c5c Mon Sep 17 00:00:00 2001 From: JJ Kasper Date: Mon, 12 Sep 2022 08:38:15 -0700 Subject: [PATCH 4/4] lint-fix --- docs/advanced-features/compiler.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/advanced-features/compiler.md b/docs/advanced-features/compiler.md index 5d12f29dab7b..6708b07d693d 100644 --- a/docs/advanced-features/compiler.md +++ b/docs/advanced-features/compiler.md @@ -9,7 +9,7 @@ description: Learn about the Next.js Compiler, written in Rust, which transforms | Version | Changes | | --------- | ---------------------------------------------------------------------------------------------------------------------------------- | -| `v12.3.0` | SWC Minifier [stable](https://nextjs.org/blog/next-12-3#swc-minifier-stable). | +| `v12.3.0` | SWC Minifier [stable](https://nextjs.org/blog/next-12-3#swc-minifier-stable). | | `v12.2.0` | [SWC Plugins](#swc-plugins-Experimental) experimental support added. | | `v12.1.0` | Added support for Styled Components, Jest, Relay, Remove React Properties, Legacy Decorators, Remove Console, and jsxImportSource. | | `v12.0.0` | Next.js Compiler [introduced](https://nextjs.org/blog/next-12). |