From 0c8635529ee964401f441030c8db869711f87227 Mon Sep 17 00:00:00 2001 From: Kyle Tsang <6854874+kyletsang@users.noreply.github.com> Date: Mon, 11 Nov 2024 04:59:23 -0800 Subject: [PATCH] docs: fix package name in babel config docs (#10666) --- website/docs/configuration.mdx | 2 +- website/versioned_docs/version-3.6.1/configuration.mdx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/website/docs/configuration.mdx b/website/docs/configuration.mdx index 31aaeee31190..40e435afef07 100644 --- a/website/docs/configuration.mdx +++ b/website/docs/configuration.mdx @@ -280,7 +280,7 @@ Docusaurus transpiles your site's source code using Babel by default. If you wan To use the built-in preset as a base configuration, install the following package and use it ```bash npm2yarn -npm install --save @docusaurus/theme-live-codeblock +npm install --save @docusaurus/babel ``` Then use the preset in your `babel.config.js` file: diff --git a/website/versioned_docs/version-3.6.1/configuration.mdx b/website/versioned_docs/version-3.6.1/configuration.mdx index 31aaeee31190..40e435afef07 100644 --- a/website/versioned_docs/version-3.6.1/configuration.mdx +++ b/website/versioned_docs/version-3.6.1/configuration.mdx @@ -280,7 +280,7 @@ Docusaurus transpiles your site's source code using Babel by default. If you wan To use the built-in preset as a base configuration, install the following package and use it ```bash npm2yarn -npm install --save @docusaurus/theme-live-codeblock +npm install --save @docusaurus/babel ``` Then use the preset in your `babel.config.js` file: