[BUG] npm@7 does not set NODE_ENV=production when --production option is used #2021
Labels
Bug
thing that needs fixing
Needs Triage
needs review for next steps
Release 7.x
work is associated with a specific npm 7 release
Current Behavior:
The following preinstall script:
only prints:
NODE_ENV
when I run
npm i --prod
Expected Behavior:
I expect it to print
NODE_ENV production
Steps To Reproduce:
Environment:
The text was updated successfully, but these errors were encountered: