Skip to content

Commit

Permalink
Fix documentation link for transpilePackages in NextConfig (#48121)
Browse files Browse the repository at this point in the history
The documentation link in NextConfig's JSDoc for 'transpilePackages' was
returning a 404 error.
  • Loading branch information
tunamagur0 committed Apr 10, 2023
1 parent 8b79173 commit 7f1d7c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/next/src/server/config-shared.ts
Original file line number Diff line number Diff line change
Expand Up @@ -588,7 +588,7 @@ export interface NextConfig extends Record<string, any> {
/**
* Automatically transpile and bundle dependencies from local packages (like monorepos) or from external dependencies (`node_modules`). This replaces the
* `next-transpile-modules` package.
* @see [transpilePackages](https://beta.nextjs.org/docs/api-reference/next.config.js#transpilepackages)
* @see [transpilePackages](https://nextjs.org/docs/advanced-features/compiler#module-transpilation)
*/
transpilePackages?: string[]

Expand Down

0 comments on commit 7f1d7c4

Please sign in to comment.