esbuild icon indicating copy to clipboard operation
esbuild copied to clipboard

WASM + File System API + output

Open erdalkaraca opened this issue 8 months ago • 0 comments

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?

erdalkaraca avatar May 12 '25 09:05 erdalkaraca