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

fix: Do not set NODE_ENV #4008

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

fix: Do not set NODE_ENV #4008

wants to merge 2 commits into from

Conversation

fxgst
Copy link
Contributor

@fxgst fxgst commented Nov 20, 2024

Description

When deploying to the mainnet, dfx sets the NODE_ENV env variable which causes a different behavior with devDependencies than when deploying locally.
To remove this inconsistency between local/remote deployment, we should abstain from setting this variable when deploying to mainnet.

@fxgst fxgst requested a review from a team as a code owner November 20, 2024 12:27
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