In the Awesome Mozilla demo, Jeff mentioned that esbuild is built into Wanix. The Dockerfile also references esbuild, but I can’t seem to access it from the Wanix shell at runtime.
Expected behavior
- esbuild available as a command from the Wanix shell
Actual behavior
- esbuild does not appear to be available from the shell.
Use case
I’m trying to use esbuild together with a Rollup plugin to compile Svelte code inside Wanix.
Additional / alternative question: OPFS access
Is it possible to access the OPFS volume used by Wanix from outside of Wanix, for example, from a Web Worker running on the same page?
The goal would be:
- Run esbuild externally (e.g. in a worker),
- Write build outputs into the OPFS volume,
- Have those files appear in Wanix’s VFS.
If this is supported, are there any examples or recommended patterns for doing this?
In the Awesome Mozilla demo, Jeff mentioned that esbuild is built into Wanix. The Dockerfile also references esbuild, but I can’t seem to access it from the Wanix shell at runtime.
Expected behavior
Actual behavior
Use case
I’m trying to use esbuild together with a Rollup plugin to compile Svelte code inside Wanix.
Additional / alternative question: OPFS access
Is it possible to access the OPFS volume used by Wanix from outside of Wanix, for example, from a Web Worker running on the same page?
The goal would be:
If this is supported, are there any examples or recommended patterns for doing this?