You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
0 commit comments