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

ESM Support #56

Open
bhelx opened this issue Mar 5, 2024 · 0 comments
Open

ESM Support #56

bhelx opened this issue Mar 5, 2024 · 0 comments

Comments

@bhelx
Copy link
Contributor

bhelx commented Mar 5, 2024

QuickJS does support ESM. Also the quickjs bindings give us a way to eval an ES Module https://docs.rs/quickjs-wasm-rs/3.0.0/quickjs_wasm_rs/struct.JSContextRef.html#method.eval_module

We should switch to ESM and maybe even remove CJS support. That will also require changing the README and some of the instructions. It will probably have an impact on the polyfill code too.

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