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
We're currently building a library using Vanilla Extract, and we'd like to update our approach. Specifically, we want to automatically import the generated *.css file into the entry point after bundling.
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
-
Hi,
We're currently building a library using Vanilla Extract, and we'd like to update our approach. Specifically, we want to automatically import the generated *.css file into the entry point after bundling.
For example:
After building the project, we expect the following behavior:
Generated CSS File (e.g., index.css):
Automatic Injection of CSS into the Entry Point (e.g., index.js):
Could you please guide us on how to achieve this auto-import and CSS injection after the build process?
Beta Was this translation helpful? Give feedback.
All reactions