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

Support ES Modules #191

Open
iacore opened this issue Feb 17, 2023 · 0 comments
Open

Support ES Modules #191

iacore opened this issue Feb 17, 2023 · 0 comments

Comments

@iacore
Copy link

iacore commented Feb 17, 2023

The ECMAScript module system helps with code organization.

Currently, all JS scripts are loaded in "script mode". If they are ES Modules (loaded with type="module"), they can use other ES Modules as well.

Most notably, esm.sh lets you load browser-compatible ES modules from npm.

import X from "https://esm.sh/xxxx"

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

No branches or pull requests

1 participant