Skip to content

Javascript NextJS setup for Vanilla Extract #1552

Answered by mikematos84
mikematos84 asked this question in Q&A
Discussion options

You must be logged in to vote

Okay so for anyone else tackling this, I resolved my own issue. It turns out the --turbopack flag is on by default in npm run dev and my hunch is since turbopack is still not fully featured even though it was released for primetime, it lacks some support for things like vanilla extract.

All that to say, if anyone was facing the same issues as I was, just remove --turbopack from the dev script or turned off with some feature flag.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@mikematos84
Comment options

Comment options

You must be logged in to vote
1 reply
@askoufis
Comment options

Answer selected by mikematos84
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants