ESM version
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 13.7k
- Forks
- 1.1k
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by examining the current UMD/CommonJS loadfile path and how the wasm file is packaged and located. The work is complete when sql.js can be imported as an ESM module and loads its wasm relative to the CDN URL, including the existing loading behavior where appropriate.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, wasm
- Domain
- build-system, web-dev
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100