mirror of
https://github.com/status-im/metro.git
synced 2025-02-11 10:37:05 +00:00
Summary: When starting to use `metro-bundler` as a standalone server, I found quite complicated the fact that it needs a transformer by default. Moreover, the transformer is not passed as a reference to a JS object, but as a path to a required file. I removed the need to be required, and defaulted to a dummy, basic transform, that does nothing by default. This avoids having to create an extra file and linking to it (potentially needing to involve `path` and other extra modules). Reviewed By: cpojer Differential Revision: D5622906 fbshipit-source-id: 0c2b1bec86fa542b3c05de42c89d4b5bb4384b34