Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support esm entrypoint to utility process #40047

Merged
merged 1 commit into from Sep 29, 2023
Merged

Conversation

MarshallOfSound
Copy link
Member

Closes #40031

I'm not aware of any synchronous module load guarantees / expectations with the utility process API so just swapping to using the ESM loader instead of the CJS loader should work fine. (the esm loader falls back to CJS)

Notes: The UtilityProcess API now supports ESM entrypoints

@MarshallOfSound MarshallOfSound added semver/patch backwards-compatible bug fixes no-backport labels Sep 29, 2023
@electron-cation electron-cation bot added the new-pr 🌱 PR opened in the last 24 hours label Sep 29, 2023
@MarshallOfSound MarshallOfSound merged commit 371e83a into main Sep 29, 2023
14 checks passed
@MarshallOfSound MarshallOfSound deleted the esm-utility branch September 29, 2023 21:38
@release-clerk
Copy link

release-clerk bot commented Sep 29, 2023

Release Notes Persisted

The UtilityProcess API now supports ESM entrypoints

@ckerr ckerr changed the title fix: support esm entrypoint to utility process feat: support esm entrypoint to utility process Nov 28, 2023
MrHuangJser pushed a commit to MrHuangJser/electron that referenced this pull request Dec 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new-pr 🌱 PR opened in the last 24 hours no-backport semver/patch backwards-compatible bug fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature Request]: Support forking ES Modules (.mjs) in electron's utilityProcess
2 participants