Environment variables defined in
process.env allow you to configure additional Yarn features.
Controls the number of child processes run parallely to build node modules.
Setting this number to 1 will cause the node modules to be built sequentially which can avoid linker errors on windows with node-gyp.
For backward compatiibilty with
npm, Yarn allows passing down
npm configuration via environment variables. For instance, the
npm CLI flag becomes:
npm_config_build_from_source=true. For more information on configuring
npm, refer to the npm-config page.