PixelP
Denoβ€’4y agoβ€’
7 replies
Pixel

Write to virtual file path

Is it possible to provide virtual file paths so that another package writes a file to a variable in memory or to stdout?

I'm using esbuild.build({ ... }) and I want to take the output of that and give it straight to deno, as in deno run esbuild.js | deno run -.

I could solve the problem by writing to a temp file and running that.
Was this page helpful?