Duplicate styles in onRenderClient.css and onRenderHtml.css #1948
Replies: 2 comments 11 replies
-
|
What's your |
Beta Was this translation helpful? Give feedback.
-
|
the build warning brought me here. I looked up the build files and the waterfall, cannot reproduce the duplication issue on fresh I can confirm, there was a time I stumbled upon a similiar issue with a |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
There used to be just one file generated for styles - onRenderClient.css.
I updated vike and vite (used pretty old versions) and noticed that now it generates more css files including onRenderClient.css and onRenderHtml.css.
I use SSG model. So when I prerender the site I get 2 css files with almost the same content.
I am confused: is this doing vike or vite?
Can you please give a hint if I can control it somehow or make a workaround?
Beta Was this translation helpful? Give feedback.
All reactions