Skip to content

fix(worklets): Keep getTransformOptions arguments in metro for bundle mode#9658

Open
Warabi1915181 wants to merge 2 commits into
software-mansion:mainfrom
Warabi1915181:main
Open

fix(worklets): Keep getTransformOptions arguments in metro for bundle mode#9658
Warabi1915181 wants to merge 2 commits into
software-mansion:mainfrom
Warabi1915181:main

Conversation

@Warabi1915181

Copy link
Copy Markdown

Summary

The metro documentation states that the getTransformOptions function has three parameters. For compatibility reasons, the original getBundleModeMetroConfig in this library would try to run getTransformOptions from upstream metro configs. However, the parameters are not being passed to the function, causing unintended compatibility issues.

Test plan

This PR only touches the metro config for react-native-worklets bundle mode. The test plan would be bundling a react native project while enabling the react-native-worklets bundle mode.

@Warabi1915181 Warabi1915181 changed the title Persist getTransformOptions arguments Keep getTransformOptions arguments in worklets bundle mode Jun 12, 2026
@Warabi1915181 Warabi1915181 changed the title Keep getTransformOptions arguments in worklets bundle mode fix(worklets): Keep getTransformOptions arguments in metro for bundle mode Jun 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant