chore: Docusaurus with webpack 5#1256
Conversation
| organizationName: 'supabase', // Usually your GitHub org/user name. | ||
| projectName: 'supabase', // Usually your repo name. | ||
| themeConfig: { | ||
| forceDarkMode: true, |
|
Great, thanks @slorber - note that you can use this URL to get the preview (we have redirects on the monorepo): There are a few css/formatting issue I can see, probably missing CSS classes in the updated docusaurus theme |
|
hi @kiwicopple I've opened a similar PR to like 20 Docusaurus sites to validate the Webpack 5 support works decently. Sometimes upgrading Docusaurus to the latest version breaks some CSS, as we have a quite "implicit API surface" due to any user being able to override the default theme and provide custom CSS. We'll try to improve so that it does not happen too frequently in the future. |
Understood, thanks for upgrading us! We'll make it look great |
|
ready for review, as alpha 75 has been released with webpack 5 I'll let you fix the last CSS details of this PR, or close it and open a new PR if you want, just wanted t let you know the webpack 5 support is ready |
|
fixing the CSS on this now - sorry that took (checks watch..) 4 months 😬 |
Use an unreleased version of Docusaurus to test the webpack5 support works for this site, detect potential problems, and perf improvements.
See also facebook/docusaurus#4089