mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-02-09 17:13:46 +08:00
Summary: public This adds an option to `Module` (and its callers) that allows to transform code before extracting dependencies. The transform function has to return a promise that resolves to an object with `code`, and optionally `dependencies` and/or `asyncDependencies` properties, if standard dependency extraction cannot be applied Reviewed By: cpojer Differential Revision: D2870437 fb-gh-sync-id: 806d24ba16b1693d838a3fa747d82be9dc6ccf00