Skip to content

The classname generated by vite and webpack is not consistent。 #364

Answered by mattcompiles
RyderJKL asked this question in Q&A
Discussion options

You must be logged in to vote

This is due to Vite not having support for automatic debug IDs yet. This functionality is provided by the @vanilla-extract/babel-plugin. We're thinking of adding support for this in Vite soon.

Until then I'd suggest to stop using the @vanilla-extract/babel-plugin at all. That should make Webpack be consistant with Vite.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by RyderJKL
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