mirror of
https://github.com/status-im/metro.git
synced 2025-01-09 18:45:41 +00:00
James Ide
ee00675dab
[react-packager] Add dev option to CLI | James Ide
Summary: Exposes the dev option that is already there to the CLI so that you can turn off invariant checks, etc. I also made it omit the inlined source map when dev=false which made it a lot faster to run on a phone, both due to smaller download size and fewer bytes to copy from Obj-C to JS and evaluate. Closes https://github.com/facebook/react-native/pull/112 Github Author: James Ide <ide@jameside.com> Test Plan: * ./runJestTests.sh * test bundle creation with `bundle.sh` * test `load_dependencies.js` script * start the server and click around shell app
Description
Languages
JavaScript
100%