-
Notifications
You must be signed in to change notification settings - Fork 634
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove module name from asyncRequire calls in release builds
Summary: Changelog: **[Experimental]**: Reorder `asyncRequire`'s parameters and make module name optional Changes the dependency collector in Metro to remove the `moduleName` parameter from `asyncRequire` calls in release builds. This aligns `asyncRequire` with `require` and other core runtime dependency APIs, where the module name parameter is passed last, and is only present for debugging purposes. Reviewed By: jacdebug Differential Revision: D42632385 fbshipit-source-id: a7e23e607b3a4bbd2c7933c884053d2c43f9af75
- Loading branch information
1 parent
20c4a65
commit 4e5261c
Showing
2 changed files
with
83 additions
and
26 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