Skip to content

Fix: Add support for relative Platform ES imports (inline-plugin)#1692

Open
retyui wants to merge 1 commit into
facebook:mainfrom
retyui:fix/retyui/inline-plugin-relative-imports
Open

Fix: Add support for relative Platform ES imports (inline-plugin)#1692
retyui wants to merge 1 commit into
facebook:mainfrom
retyui:fix/retyui/inline-plugin-relative-imports

Conversation

@retyui
Copy link
Copy Markdown
Contributor

@retyui retyui commented Apr 20, 2026

Summary

read: #1521 (comment) and this facebook/react-native#56344

Changelog: [Fix] Metro inline plugin doesn't work with a relative ES import of Platform

Test plan

yarn test

Also React Native build:

Before

Screenshot 2026-04-20 at 17 45 12

After:

Screenshot 2026-04-20 at 18 15 16

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Apr 20, 2026
@retyui retyui force-pushed the fix/retyui/inline-plugin-relative-imports branch from 8658437 to 6b2e449 Compare April 20, 2026 15:42
@facebook-github-tools facebook-github-tools Bot added the Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team. label Apr 20, 2026
@retyui retyui marked this pull request as draft April 20, 2026 16:01
@retyui retyui force-pushed the fix/retyui/inline-plugin-relative-imports branch from 6b2e449 to 069af3d Compare April 20, 2026 16:17
@retyui retyui marked this pull request as ready for review April 20, 2026 16:17
@retyui
Copy link
Copy Markdown
Contributor Author

retyui commented Apr 30, 2026

@robhogan could you please review this PR ?

@robhogan
Copy link
Copy Markdown
Contributor

Stop spamming me, @retyui, please.

@retyui
Copy link
Copy Markdown
Contributor Author

retyui commented Apr 30, 2026

Oops, sorry Rob for the notifications! I'll ease up. Hope you're having a good day otherwise

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants