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

Compatible with https://esm.sh #60

Merged
merged 1 commit into from
Mar 27, 2024
Merged

Compatible with https://esm.sh #60

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 2881f43 into master Mar 27, 2024
3 of 4 checks passed
@samchon samchon deleted the features/refactoring branch March 27, 2024 14:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant