Skip to content

Vite react plugin not transforming process.env in library mode #261

Closed Answered by ArnaudBarre
MaxWilson asked this question in Q&A
Discussion options

You must be logged in to vote

This is an expected behavior: vitejs/vite#8090
See this comment if you want to continue using this kind of outdating pattern: vitejs/vite#8090 (comment)

Replies: 1 comment

Comment options

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