mirror of
https://github.com/facebook/docusaurus.git
synced 2025-04-28 17:57:48 +02:00
docs: fix package name in babel config docs (#10666)
This commit is contained in:
parent
f1272788a4
commit
0c8635529e
2 changed files with 2 additions and 2 deletions
|
@ -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:
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue