Skip to content

Commit

Permalink
docs: fix broken link in Architecture/Turbopack documentation (#71412)
Browse files Browse the repository at this point in the history
This PR fixes a broken link (404 Not Found) in the
[Architecture/Turbopack](https://nextjs.org/docs/architecture/turbopack)
documentation.

It appears the actual URL differs from the expected one, so I have
corrected it to the expected URL.

expected URL :
https://nextjs.org/docs/canary/architecture/nextjs-compiler#supported-features
actual URL :
https://nextjs.org/docs/canary/architecture/docs/canary/architecture/nextjs-compiler#supported-features


![image](https://github.com/user-attachments/assets/ea63f62d-f00a-4a02-a330-20be1e8a67c7)

Co-authored-by: JJ Kasper <[email protected]>
  • Loading branch information
ytori and ijjk authored Oct 23, 2024
1 parent 914d0f3 commit b258244
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/04-architecture/turbopack.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ These features are currently not supported:
- A subset of [Webpack loaders](/docs/app/api-reference/next-config-js/turbo#configuring-webpack-loaders) are supported in Turbopack.
- Babel (`.babelrc`)
- Turbopack leverages the [SWC](/docs/architecture/nextjs-compiler#why-swc) compiler for all transpilation and optimizations. This means that Babel is not included by default.
- If you have a `.babelrc` file, you might no longer need it because Next.js includes common Babel plugins as SWC transforms that can be enabled. You can read more about this in the [compiler documentation](docs/architecture/nextjs-compiler#supported-features).
- If you have a `.babelrc` file, you might no longer need it because Next.js includes common Babel plugins as SWC transforms that can be enabled. You can read more about this in the [compiler documentation](/docs/architecture/nextjs-compiler#supported-features).
- If you still need to use Babel after verifying your particular use case is not covered, you can leverage Turbopack's [support for custom webpack loaders](/docs/app/api-reference/next-config-js/turbo#configuring-webpack-loaders) to include `babel-loader`.
- Creating a root layout automatically in App Router.
- This behavior is currently not supported since it changes input files, instead, an error will be shown for you to manually add a root layout in the desired location.
Expand Down

0 comments on commit b258244

Please sign in to comment.