diff --git a/errors/opt-out-auto-static-optimization.mdx b/errors/opt-out-auto-static-optimization.mdx index 576d1ff555ec47..19269a37186ca6 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 707a83ac067da9..dff491049daa60 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 f2f1bbec2b0041..bb48cb7e135b88 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.