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
For the vanilla css styles corresponding link tag to be generated into the html in prod mode
Actual Behavior
This is not the case. Vanilla extract generates the css files, but does not inject the link tags in the html files. This has been tested on other vite projects and remix is the only one to fail
The text was updated successfully, but these errors were encountered:
I think my project is also experiencing this issue. On initial loads the styling for the current page is loaded correctly. When using Remix Links to load another page, the styling is downloaded but not injected. This issue only exists during production build/runs but not during development using 'virtual:remix/server-build'.
Reproduction
https://github.com/vincent-thomas/remix-vanilla-extract-css-repro
run in dev mode: "bun run dev"
then run in prod mode "bun run build && bun run start"
System Info
Used Package Manager
bun
Expected Behavior
For the vanilla css styles corresponding link tag to be generated into the html in prod mode
Actual Behavior
This is not the case. Vanilla extract generates the css files, but does not inject the link tags in the html files. This has been tested on other vite projects and remix is the only one to fail
The text was updated successfully, but these errors were encountered: