-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Different behaviours between remix dev/build
and vite dev/build
#7989
Comments
Thanks for comprehensive reproduction! The 1st issue is on remix plugin side, which is similar to what I mentioned before in #7901 (comment) (and partially workarounded by #7911). The 2nd issue is that your Still my investigation is in progress and also I didn't have any experience with vanilla extract, so I could be missing. Also, one more side note, it seems there's some movement in vanilla-extract repo as well, which mentions remix/vite vanilla-extract-css/vanilla-extract#1210. It looks like it's just bumping internal vite version, so probably it's not so related, but I thought it's worth mentioning. I forgot to mention that there's something interesting about |
@hi-ogawa thanks for picking this up. Re: I tested with a build from latest Thanks a lot for fixing it so quickly! |
Fixed in #7990 |
What version of Remix are you using?
2.2.0 (also tested with the latest commit on the
dev
branch)Are all your remix dependencies & dev-dependencies using the same version?
Steps to Reproduce
There are steps to reproduce in this repo: https://github.com/mrm007/remix-vite-vanilla-repro
There's also a branch where I tested with a snapshot of
@remix-run/dev
: https://github.com/mrm007/remix-vite-vanilla-repro/tree/with-remix-snapshotExpected Behavior
CSS defined via Vanilla Extract to be extracted the same way as it works with
remix build
.Actual Behavior
See reproduction repo for all the details.
The text was updated successfully, but these errors were encountered: