Skip to content

fix(expo-atlas-plugin): support Metro serializer compatibility - #316

Merged
V3RON merged 7 commits into
mainfrom
fix/expo-atlas-metro-compat
Jul 30, 2026
Merged

fix(expo-atlas-plugin): support Metro serializer compatibility#316
V3RON merged 7 commits into
mainfrom
fix/expo-atlas-metro-compat

Conversation

@V3RON

@V3RON V3RON commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

What is this?

This PR makes @rozenite/expo-atlas-plugin compatible with Metro serializer internals from Metro 0.76 through 0.84, including the export change that caused Metro 0.83+ to fail.

How does it work?

The plugin resolves Metro’s supported private serializer paths first and falls back to legacy metro/src paths only when the modern path is unavailable. It normalizes direct CommonJS and default-wrapped exports, and exercises the resulting serializer against four pinned Metro fixture packages.

Why is this useful?

Expo Atlas continues to work across the supported React Native and Metro range while keeping module-evaluation failures visible. The pinned fixtures provide regression coverage for both the legacy paths and the Metro 0.83+ export shape.

Fixes #313

@V3RON
V3RON marked this pull request as ready for review July 27, 2026 13:34
@V3RON
V3RON merged commit 4e1c3bd into main Jul 30, 2026
4 checks passed
@V3RON
V3RON deleted the fix/expo-atlas-metro-compat branch July 30, 2026 20:34
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.

@rozenite/expo-atlas-plugin does not work with Metro 0.83

1 participant