Example of rollup app consuming VE module #1058
Unanswered
vdenisenko-waverley
asked this question in
Q&A
Replies: 0 comments
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 there.
I am trying to add VE into my rollup application. Since there is a rollup integration section in docs, I assume it is possible somehow, but I'm running into issues and wondering how to make it work.
Link to repo: https://github.com/vdenisenko-waverley/vanilla-extract-rollup-consume
I know rollup doesn't support css processing out of the box, so I am using
rollup-plugin-postcss
to add that feature and everything works excellent and CSS being injected into bundle properly. Then I add VE stuff below:which adds CSS import to bundle but this one not processed by postcss and obviously I'm getting error in browser
So I am wondering what is the correct way of consuming VE module in rollup application? Is there something I missed?
Beta Was this translation helpful? Give feedback.
All reactions