Skip to content

fix: use specific swc assumptions instead of general loose mode#880

Merged
jbroma merged 5 commits intomainfrom
fix/swc-loose-config
Jan 19, 2025
Merged

fix: use specific swc assumptions instead of general loose mode#880
jbroma merged 5 commits intomainfrom
fix/swc-loose-config

Conversation

@jbroma
Copy link
Copy Markdown
Contributor

@jbroma jbroma commented Jan 19, 2025

Summary

before too many loose mode transformations were enabled, being not spec compliant with @react-native/babel-preset - now only the default ones are provided with the config - making the compiled code more strict and spec compliant.

Test plan

  • - all testers work

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Jan 19, 2025

🦋 Changeset detected

Latest commit: 7ef83f7

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 4 packages
Name Type
@callstack/repack Patch
@callstack/repack-plugin-reanimated Patch
@callstack/repack-dev-server Patch
@callstack/repack-init Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel
Copy link
Copy Markdown

vercel bot commented Jan 19, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
repack-website ⬜️ Ignored (Inspect) Jan 19, 2025 8:57pm

@jbroma
Copy link
Copy Markdown
Contributor Author

jbroma commented Jan 19, 2025

fixes the issue encountered after migrating from rc.5 to rc.6

cc @maciekBudzinski @borisyankov

@jbroma jbroma merged commit cdfdca4 into main Jan 19, 2025
@jbroma jbroma deleted the fix/swc-loose-config branch January 19, 2025 21:00
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