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.
Description
When deploying to the mainnet, dfx sets the
NODE_ENV
env variable which causes a different behavior withdevDependencies
than when deploying locally. To remove this inconsistency between local/remote deployment, we should abstain from setting this variable when deploying to mainnet.