Skip to content

Refactor setup modules in src/private/setup as side-effect free modules#45795

Closed
rubennorte wants to merge 5 commits into
facebook:mainfrom
rubennorte:export-D60382506
Closed

Refactor setup modules in src/private/setup as side-effect free modules#45795
rubennorte wants to merge 5 commits into
facebook:mainfrom
rubennorte:export-D60382506

Conversation

@rubennorte
Copy link
Copy Markdown
Contributor

Summary:
Changelog: [internal]

Our modules to set up the runtime have side-effects and depend on import order to work correctly. This is error-prone and complicates the migration to ESM in some cases, so this refactors all of them in src/private/setup to export a function instead.

Differential Revision: D60382506

rubennorte and others added 5 commits July 29, 2024 04:03
Differential Revision: D60290620
Summary:
Changelog: [internal]

Our modules to set up the runtime have side-effects and depend on import order to work correctly. This is error-prone and complicates the migration to ESM in some cases, so this refactors all of them in `src/private/setup` to export a function instead.

Differential Revision: D60382506
@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. p: Facebook Partner: Facebook Partner labels Jul 29, 2024
@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D60382506

@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request has been merged in 48421df.

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. fb-exported Merged This PR has been merged. p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants