Skip to content

Commit

Permalink
Use @docusaurus/babel/preset for newly init sites + docs
Browse files Browse the repository at this point in the history
  • Loading branch information
slorber committed Sep 20, 2024
1 parent 715b700 commit 766176b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module.exports = {
presets: [require.resolve('@docusaurus/core/lib/babel/preset')],
presets: ['@docusaurus/babel/preset'],
};
2 changes: 1 addition & 1 deletion website/docs/configuration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ For new Docusaurus projects, we automatically generated a `babel.config.js` in t

```js title="babel.config.js"
export default {
presets: ['@docusaurus/core/lib/babel/preset'],
presets: ['@docusaurus/babel/preset'],
};
```

Expand Down

0 comments on commit 766176b

Please sign in to comment.