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
Trying to migrate over to Vite and having some issues with vanilla-extract, unsure if it's the remix plugin or a vanilla-extract issue. Importing a .css.ts file behaves differently then just a regular .css file. With vanilla-extract styles are inline in the HTML and all paths (using url(), for example fonts) are ignore when building. Switching over to a .css-file, font files are included in the build and the final css ends up as a <link rel="stylesheet" /> in the document.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Trying to migrate over to Vite and having some issues with vanilla-extract, unsure if it's the remix plugin or a vanilla-extract issue. Importing a
.css.ts
file behaves differently then just a regular.css
file. With vanilla-extract styles are inline in the HTML and all paths (usingurl()
, for example fonts) are ignore when building. Switching over to a.css
-file, font files are included in the build and the final css ends up as a<link rel="stylesheet" />
in the document.Beta Was this translation helpful? Give feedback.
All reactions