From b2582447d0a884c8aa2995132e3eddc3743fb2ca Mon Sep 17 00:00:00 2001 From: ytori Date: Wed, 23 Oct 2024 09:32:52 +0900 Subject: [PATCH] docs: fix broken link in Architecture/Turbopack documentation (#71412) 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 --- docs/04-architecture/turbopack.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/04-architecture/turbopack.mdx b/docs/04-architecture/turbopack.mdx index 3ca3f67c1e353..e8c6e5b50e524 100644 --- a/docs/04-architecture/turbopack.mdx +++ b/docs/04-architecture/turbopack.mdx @@ -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.