Fix optimizePackageImports docs for Pages Router (#64439)

The current documentation displays the docs for the `compress` option
instead of the `optimizePackageImports` option.


https://nextjs.org/docs/pages/api-reference/next-config-js/optimizePackageImports
This commit is contained in:
kxlow 2024-04-13 09:46:06 -07:00 committed by GitHub
parent 7ef6c4eb17
commit 9b77edee06
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View file

@ -1,6 +1,6 @@
---
title: optimizePackageImports
description: API Reference for optmizedPackageImports Next.js Config Option
description: API Reference for optimizePackageImports Next.js Config Option
---
{/* The content of this doc is shared between the app and pages router. You can use the `<PagesOnly>Content</PagesOnly>` component to add content that is specific to the Pages Router. Any shared content should not be wrapped in a component. */}

View file

@ -1,7 +1,7 @@
---
title: optimizePackageImports
description: API Reference for optmizedPackageImports Next.js Config Option
source: app/api-reference/next-config-js/compress
description: API Reference for optimizePackageImports Next.js Config Option
source: app/api-reference/next-config-js/optimizePackageImports
---
{/* DO NOT EDIT. The content of this doc is generated from the source above. To edit the content of this page, navigate to the source page in your editor. You can use the `<PagesOnly>Content</PagesOnly>` component to add content that is specific to the Pages Router. Any shared content should not be wrapped in a component. */}