forked from facebook/react-native
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
1 parent
9ba56f6
commit fcfd82e
Showing
2 changed files
with
99 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters