Skip to content

Commit

Permalink
chore: upgrade Docusaurus, enable Faster Rspack/SWC/LightningCSS (#2997)
Browse files Browse the repository at this point in the history
  • Loading branch information
slorber authored Nov 8, 2024
1 parent bd8ae6f commit 0e31de8
Show file tree
Hide file tree
Showing 3 changed files with 2,330 additions and 405 deletions.
4 changes: 4 additions & 0 deletions website/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,10 @@ function remarkDirectiveBabel8Plugin({ renderBabel8 }) {
}

const siteConfig = {
future: {
// See https://docusaurus.io/blog/releases/3.6
experimental_faster: true,
},
titleDelimiter: "·",
baseUrl: "/",
favicon: "img/favicon.png",
Expand Down
7 changes: 4 additions & 3 deletions website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,10 @@
"serve": "docusaurus serve"
},
"devDependencies": {
"@docusaurus/core": "^3.5.2",
"@docusaurus/preset-classic": "^3.5.2",
"@docusaurus/remark-plugin-npm2yarn": "^3.5.2",
"@docusaurus/core": "3.6.0",
"@docusaurus/faster": "3.6.0",
"@docusaurus/preset-classic": "3.6.0",
"@docusaurus/remark-plugin-npm2yarn": "3.6.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-markdown": "^9.0.0",
Expand Down
Loading

0 comments on commit 0e31de8

Please sign in to comment.