#vanilla-extract + Remix prototype

1 messages · Page 1 of 1 (latest)

drifting thistle
#

You typically need to hook into the compiler to support vanilla-extract, but since Remix doesn't support this yet, I wanted to see if I could build a workaround.

This prototype runs a separate build process using tsup (which uses esbuild + TS under the hood) to generate CSS + JS + types into your Remix app directory. There are a few tradeoffs to this approach that I've covered in the readme, but I think this could definitely work for a lot of people, myself included.

Please let me know what you think, and enjoy! 🙏

https://github.com/markdalgleish/remix-vanilla-extract-prototype

GitHub

Contribute to markdalgleish/remix-vanilla-extract-prototype development by creating an account on GitHub.

unique jolt
#

Played with this a lot today. Really like Vanilla Extract. Shame about the song and dance required to make it work with Remix.

sonic swallow
#

This is amazing! I’ll take a look. I like more vanilla extract than TW. I really hope that I can migrate at some point

glad glacier
#

Awesome. The missing piece of the Puzzle.