From 556ad6794ae644b517d7bb65fad6c4d274b85637 Mon Sep 17 00:00:00 2001 From: JamBalaya56562 Date: Fri, 8 Nov 2024 13:14:46 +0900 Subject: [PATCH] docs: unify the header deps by removing # --- errors/opt-out-auto-static-optimization.mdx | 2 +- errors/opt-out-automatic-prerendering.mdx | 2 +- errors/swc-minify-enabled.mdx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/errors/opt-out-auto-static-optimization.mdx b/errors/opt-out-auto-static-optimization.mdx index 576d1ff555ec4..19269a37186ca 100644 --- a/errors/opt-out-auto-static-optimization.mdx +++ b/errors/opt-out-auto-static-optimization.mdx @@ -2,7 +2,7 @@ title: Opt-out of Automatic Static Optimization --- -#### Why This Warning Occurred +## Why This Warning Occurred You are using `getInitialProps` in your [Custom ``](/docs/pages/building-your-application/routing/custom-app) file. diff --git a/errors/opt-out-automatic-prerendering.mdx b/errors/opt-out-automatic-prerendering.mdx index 707a83ac067da..dff491049daa6 100644 --- a/errors/opt-out-automatic-prerendering.mdx +++ b/errors/opt-out-automatic-prerendering.mdx @@ -2,7 +2,7 @@ title: Opt-out of Automatic Static Optimization --- -#### Why This Warning Occurred +## Why This Warning Occurred You are using `getInitialProps` in your [Custom ``](/docs/pages/building-your-application/routing/custom-app). diff --git a/errors/swc-minify-enabled.mdx b/errors/swc-minify-enabled.mdx index f2f1bbec2b004..bb48cb7e135b8 100644 --- a/errors/swc-minify-enabled.mdx +++ b/errors/swc-minify-enabled.mdx @@ -2,7 +2,7 @@ title: SWC minify enabled --- -#### Why This Message Occurred +## Why This Message Occurred The application has enabled `swcMinify` in `next.config.js`. By opting in minification will happen using the [SWC](https://swc.rs) minifier instead of Terser. This new minifier is 7x faster than Terser with comparable output. We're actively working on optimizing the output size and minification speed further.