Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Move commonjs exports down for worklet files #6316

Merged
merged 4 commits into from
Jul 23, 2024

Conversation

tjzel
Copy link
Collaborator

@tjzel tjzel commented Jul 23, 2024

Summary

Since Reanimated Babel Plugin breaks hoisting and newer Typescript hoists CommonJS exports by default we sometimes need to dehoist those exports.

Test plan

  • Add unit test suite.
  • Runtime tests pass.

@tjzel tjzel marked this pull request as ready for review July 23, 2024 09:56
@tjzel tjzel requested a review from tomekzaw July 23, 2024 09:56
Copy link
Collaborator Author

@tjzel tjzel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@tjzel tjzel added this pull request to the merge queue Jul 23, 2024
Merged via the queue into main with commit 818ed78 Jul 23, 2024
6 checks passed
@tjzel tjzel deleted the @tjzel/plugin/commonjs-exports-file-workletization branch July 23, 2024 11:30
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.

2 participants