Skip to content

Include globalPrefix with the default getRunModuleStatement#1571

Open
jbroma wants to merge 4 commits intofacebook:mainfrom
callstack:feat/include-global-prefix-in-default-rms
Open

Include globalPrefix with the default getRunModuleStatement#1571
jbroma wants to merge 4 commits intofacebook:mainfrom
callstack:feat/include-global-prefix-in-default-rms

Conversation

@jbroma
Copy link
Contributor

@jbroma jbroma commented Sep 8, 2025

Summary

As a followup for #1512 & #1566 we should include the globalPrefix for the default getRunModuleStatement to keep them in sync until the opt out is explicit.

This prevents a situation where using globalPrefix without changing getRunModuleStatement would break the setup since changes from #1512 make the globalPrefix always present in the require.js polyfill.

Note: needs to be merged after #1512

Changelog: [Breaking] Include globalPrefix in the default getRunModuleStatement

Test plan

  • - existing tests pass

@jbroma jbroma marked this pull request as draft September 8, 2025 16:46
@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 Sep 8, 2025
@jbroma jbroma marked this pull request as ready for review September 10, 2025 08:17
@facebook-github-bot facebook-github-bot added the Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team. label Sep 10, 2025
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