mirror of https://github.com/status-im/metro.git
dee7aadd28
Summary: We are already inlining `Platform.OS`. This diff adds support to inline calls to `Platform.select` with an object literal as first argument. The transform will replace the call with the property value corresponding to the platform, or `undefined` if it does not exist. Reviewed By: frantic Differential Revision: D3385391 fbshipit-source-id: bb068d17948ed84e381707faeaa0450399c2f306 |
||
---|---|---|
.. | ||
__mocks__ | ||
__tests__ | ||
worker | ||
README.md | ||
index.js |