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

Stop importing as index.js to make esm.sh happy #362

Merged
merged 1 commit into from
Jan 4, 2024

Conversation

kateinoigakukun
Copy link
Member

It seems that esm.sh strips index.js from the import path while bundling. This causes wrong import "dist.js" to be generated.

Close #335

It seems that `esm.sh` strips `index.js` from the import path while
bundling. This causes wrong `import "dist.js"` to be generated.

Close #335
@kateinoigakukun kateinoigakukun marked this pull request as ready for review January 4, 2024 17:15
@kateinoigakukun kateinoigakukun merged commit 7cd4989 into main Jan 4, 2024
28 checks passed
@kateinoigakukun kateinoigakukun deleted the katei/fix-for-esm-sh branch January 4, 2024 17:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Fix https://esm.sh/@ruby/wasm-wasi@next/dist/browser error
1 participant