Setting NODE_ENV=production
causes these libraries and tools to behave as follows:
npm:
install
will not install devDependenciesshrinkwrap
will not install devDependenciesprune
will remove devDependencies
yarn:
Setting NODE_ENV=production
causes these libraries and tools to behave as follows:
npm:
install
will not install devDependenciesshrinkwrap
will not install devDependenciesprune
will remove devDependenciesyarn: