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 version #524

Open
jimmywarting opened this issue Aug 13, 2022 · 1 comment
Open

ESM version #524

jimmywarting opened this issue Aug 13, 2022 · 1 comment

Comments

@jimmywarting
Copy link

jimmywarting commented Aug 13, 2022

could you maybe build a esm version that can be imported and uses import.meta.url to load wasm files relative to the cdn somebody is using?

would just like to be able to do import it.
the hole umd commonjs loadfile is complicated.

@jimmywarting
Copy link
Author

that way you can also use top level await and load wasm file before anything gets exported

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