Skip to content
New issue

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

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

Already on GitHub? # to your account

Compatible with https://esm.sh #113

Merged
merged 1 commit into from
Mar 27, 2024
Merged

Compatible with https://esm.sh #113

merged 1 commit into from
Mar 27, 2024

Conversation

samchon
Copy link
Owner

@samchon samchon commented Mar 27, 2024

I'm making a cloud playground website that can import any library registered in the NPM registry with esm.sh.

By the way, as esm.sh has been published for deno, it is not possible to import NodeJS built-in libraries.

In such reason, this PR removes every direct import statements to the NodeJS built-in libraries, and performed indirect import through import2 library, so that bundler cannot merge them.

I'm making a cloud playground website that can import any library registered in the NPM registry with `esm.sh`.

By the way, as `esm.sh` has been published for `deno`, it is not possible to import `NodeJS` built-in libraries.

In such reason, this PR removes every direct import statements to the NodeJS built-in libraries, and performed indirect import through `import2` library, so that bundler cannot merge them.
@samchon samchon added the enhancement New feature or request label Mar 27, 2024
@samchon samchon self-assigned this Mar 27, 2024
@samchon samchon merged commit c643412 into master Mar 27, 2024
3 of 4 checks passed
@samchon samchon deleted the features/esm.sh branch March 27, 2024 14:03
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant