You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
changed the title [-]Missing styles when switching languages on the docs website[/-][+]CSS styles missing on localized i18n site builds - v3.8 + Docusaurus Faster + Rspack persistent cache[/+]on Jun 6, 2025
Activity
EurFelux commentedon Jun 5, 2025
When I try to switch languages on the home page, it shows:
slorber commentedon Jun 5, 2025
Hmmm yes it looks like there's an issue, I think it's a bug in Rspack but need to confirm that thanks
slorber commentedon Jun 6, 2025
It's a bug in Rspack persistent cache: web-infra-dev/rspack#10599
This is likely to affect Docusaurus v3.8 i18n sites using Docusaurus Faster.
I hope we'll find a solution asap.
In the meantime, sites affected by this problem should rather disable the persistent cache using one of these ways:
siteConfig.future.experimental_faster.rspackPersistentCache = falsedocusaurus clearbeforedocusaurus build[-]Missing styles when switching languages on the docs website[/-][+]CSS styles missing on localized i18n site builds - v3.8 + Docusaurus Faster + Rspack persistent cache[/+][-]CSS styles missing on localized i18n site builds - v3.8 + Docusaurus Faster + Rspack persistent cache[/-][+]CSS styles missing on localized i18n builds - v3.8 + Docusaurus Faster + Rspack persistent cache[/+]slorber commentedon Jun 24, 2025
From what I see, this bug is fixed in Rsack v1.4
If you are affected, you can use the newer version today already, with npm "overrides" and Yarn "resolutions"
EurFelux commentedon Jun 25, 2025
Thank You for Your Help!