We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
process.env.NODE_ENV
dist/immer.mjs
I use import { produce } from 'immer' in vite project. After building, process.env.NODE_ENV is still in my built file.
import { produce } from 'immer'
Could process.env.NODE_ENV be removed in dist/immer.mjs?
The text was updated successfully, but these errors were encountered:
That inclusion is intentional, and Vite should be replacing it automatically.
Sorry, something went wrong.
No branches or pull requests
🚀 Feature Proposal
I use
import { produce } from 'immer'
in vite project. After building,process.env.NODE_ENV
is still in my built file.Motivation
Could
process.env.NODE_ENV
be removed indist/immer.mjs
?The text was updated successfully, but these errors were encountered: