docs: fix package name in babel config docs (#10666)

This commit is contained in:
Kyle Tsang 2024-11-11 04:59:23 -08:00 committed by GitHub
parent f1272788a4
commit 0c8635529e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -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:

View file

@ -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: