Skip to content

WASM + File System API + output #4182

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

Open
erdalkaraca opened this issue May 12, 2025 · 0 comments
Open

WASM + File System API + output #4182

erdalkaraca opened this issue May 12, 2025 · 0 comments

Comments

@erdalkaraca
Copy link

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?

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