react-native
react-native copied to clipboard
Allow to chain custom transformers when resolving asset sources
Summary:
Changelog:
[Internal]-
This adds an ability to have multiple custom source transformers when resolving asset sources, which is beneficial in some scenarios.
The transformers are chained, being executed in order they are registered, until one of them returns a non-null value.
If none does, then the default one is returned.
Differential Revision: D53472320
This pull request was exported from Phabricator. Differential Revision: D53472320
This pull request was exported from Phabricator. Differential Revision: D53472320
This pull request was exported from Phabricator. Differential Revision: D53472320
This pull request has been merged in facebook/react-native@665c40046079a69f1ccd6bc7fe3d56e81a9488f7.