Skip to content

fix: always include AssetRegistry and AssetSourceResolver#1134

Merged
jbroma merged 2 commits intomainfrom
fix/add-explicit-deep-imports
Apr 28, 2025
Merged

fix: always include AssetRegistry and AssetSourceResolver#1134
jbroma merged 2 commits intomainfrom
fix/add-explicit-deep-imports

Conversation

@jbroma
Copy link
Copy Markdown
Contributor

@jbroma jbroma commented Apr 28, 2025

Summary

to properly support inlined / remote assets in apps loaded through Module Federation, we should always include deep imports used for this functionality, in this case AssetRegistry and AssetSourceResolver.

This prevents downloading extra unnecessary chunks that provide these modules since they should always come from Host anyways.

Test plan

  • - testers work

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Apr 28, 2025

🦋 Changeset detected

Latest commit: b9a698b

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

This PR includes changesets to release 6 packages
Name Type
@callstack/repack Patch
@callstack/repack-plugin-expo-modules Patch
@callstack/repack-plugin-nativewind 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 Apr 28, 2025

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

Name Status Preview Comments Updated (UTC)
repack-website ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 28, 2025 0:53am

@jbroma jbroma merged commit acd69db into main Apr 28, 2025
5 checks passed
@jbroma jbroma deleted the fix/add-explicit-deep-imports branch April 28, 2025 12:57
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