-
Notifications
You must be signed in to change notification settings - Fork 243
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docusaurus v3.6 - enable Docusaurus Faster #1003
Docusaurus v3.6 - enable Docusaurus Faster #1003
Conversation
"@types/crypto-js": "^4.1.0", | ||
"@types/file-saver": "^2.0.5", | ||
"@types/lodash": "^4.14.176", | ||
"concurrently": "^5.2.0", | ||
"eslint-plugin-prettier": "^5.0.1" | ||
}, | ||
"dependencies": { | ||
"@docusaurus/theme-common": "^3.5.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Note: I had to use the canary here otherwise it seems the ^ range doesn't resolve to the demo pre-release, leading to a duplicated package, leading to SSG errors due to providers.
This can be reverted once v3.6 is out
@@ -47,7 +47,7 @@ | |||
"docusaurus-plugin-sass": "^0.2.3", | |||
"file-saver": "^2.0.5", | |||
"lodash": "^4.17.20", | |||
"node-polyfill-webpack-plugin": "^2.0.1", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This makes the plugin compatible with Rspack, see https://github.com/Richienb/node-polyfill-webpack-plugin/releases/tag/v3.0.0
3.0 is only this change, but baybe you could also upgrade to v4.0 although I'm not sure it's side-effect free
Visit the preview URL for this PR (updated for commit e6ef3c4): https://docusaurus-openapi-36b86--pr1003-m7ftbvnh.web.app (expires Wed, 04 Dec 2024 14:31:52 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: bf293780ee827f578864d92193b8c2866acd459f |
v3.6 is out: https://docusaurus.io/blog/releases/3.6 PR ready to review I kept the former Note the HTML minifier reports a few errors on the demo site, you might want to investigate those so that plugin users do not get invalid markup + the console errors. See also facebook/docusaurus#10580 |
Description
Upgrade to Docusaurus v3.6 - Enable Docusaurus Faster
Motivation and Context
It's faster, see facebook/docusaurus#10556
Benchmarks
Cold builds - almost 3x faster:
Rebuilds - a bit slower (for now) but acceptable