Replies: 2 comments
-
@vctqs1anz Hi! Sorry for not responding to this sooner. While I don't quite have a code example to provide, I'm sure it could be achieved with a bundler like rollup. Perhaps something involving If you've already resolved the issue, I'd love to know how you solved it. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Actually, maybe this plugin is what you want: https://github.com/emosheeep/vite-plugin-lib-inject-css |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
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