Skip to content

feat(esm): Import rather than require inspector #10910

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

Merged
merged 1 commit into from
Mar 4, 2024

Conversation

timfish
Copy link
Collaborator

@timfish timfish commented Mar 4, 2024

This does break support for custom builds of Node which have been built without inspector support. The only one that comes to mind is Vercel/pkg but this has recently been deprecated since Node v21 supports building single file executables.

We may come back later and find a way to work around this but we cannot use async import with the current code, so we'll need to revisit this after we have a proper ESM build working!

This also removes local-variables-async.ts since it's not used and async inspector requires a worker thread to work.

@AbhiPrasad
Copy link
Member

Gonna merge this in because I wanna test something out with serverless

@AbhiPrasad AbhiPrasad merged commit 056f944 into develop Mar 4, 2024
@AbhiPrasad AbhiPrasad deleted the esm/import-inspector branch March 4, 2024 16:58
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.

2 participants