Skip to content
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

remove the default behavior of env replacement on node env #622

Merged
merged 1 commit into from
Dec 31, 2024

Conversation

huozhi
Copy link
Owner

@huozhi huozhi commented Dec 31, 2024

Replacing NODE_ENV by default could result into unexpected behavior when the environment change and it's not easy to opt-out. Remove the default env here to provide easier defaults for users to bundle and still possible to opt-in with set NODE_ENV

Copy link

vercel bot commented Dec 31, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
bunchee ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 31, 2024 9:09am

@huozhi huozhi marked this pull request as ready for review December 31, 2024 09:29
@huozhi huozhi merged commit d6fcc5d into main Dec 31, 2024
6 checks passed
@huozhi huozhi deleted the fix/env-replacement branch December 31, 2024 09:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant