WASM + File System API + output
- Dominant language
- Go
- Stars
- 40.1k
- Forks
- 1.3k
- PR merge metrics
- No merged PRs in 30d
Description
I just experimented with the esbuild WASM module and was able to resolve paths to local file system using the File Access API.
What I am missing: how to control esbuild to write output files directly to my file sys handle. Essentially, I am missing a build.onOutput() callback. I think it would be better to stream the output using this callback than providing in-memory buffers in the build result.
Any thoughts?
Contributor guide
No contributing guide indexed for this repository
Research direction
The issue mentions esbuild's WASM module, the browser File Access API, and in-memory build results, but names no files or tests. Start by tracing the WASM build interface and current output handling; done would mean determining a supported way to send output to a supplied file-system handle.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, wasm
- Domain
- api, web-dev
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100