metro/packages
Jean Lauliac 67385d8e4a metro: do not override process.env completely in prelude
Summary: This changeset tweaks the prelude so as to avoid overriding `process.env` if it already exists, and add tests to verify this behavior. This is useful when a bundle is loaded in a context that already provides a global `process` somehow, ex. Electron/Node.js. We still do want to override `NODE_ENV` in that case so as to have consistency with constant inlining.

Reviewed By: rafeca

Differential Revision: D6702441

fbshipit-source-id: 69dd9ba2303a43db151cbe1877f01e38d45b05b9
2018-01-11 10:01:28 -08:00
..
metro metro: do not override process.env completely in prelude 2018-01-11 10:01:28 -08:00
metro-core Upgrade Jest to 22.0.5 2018-01-10 08:58:23 -08:00
metro-source-map Bringing clarity to the Mapping types 2018-01-11 04:28:49 -08:00