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: