mirror of
https://github.com/facebook/docusaurus.git
synced 2025-12-26 01:33:02 +00:00
docs: fix package name in babel config docs (#10666)
This commit is contained in:
parent
f1272788a4
commit
0c8635529e
|
|
@ -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…
Reference in New Issue