Closed
Description
Suggestion
Continuing #6081: on typescript-eslint.io right now, the Get Started buttons are the wrong size:
Local | Production |
---|---|
![]() |
![]() |
Specifically, the server-rendered HTML has the right HTML+CSS, but once the main JS chunk loads in, the button becomes small again. I believe it's from React hydrating with old component JS data.
I poked at things locally (thanks very much again to @AgentEnder for the help!):
- It happens on local dev, not just Netlify deploys
- It happens even if we Clear Cache and Deploy Site on Netlify
- It happens even if we upgrade Nx and Lerna
- It goes away locally if you
rm -rf packages/website/build
...so I believe the conclusion is that there's something wrong with how build/
outputs are not getting cleaned between Docusaurus rebuilds.
@Josh-Cena - do you have any insights here?