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.2 Replies
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View
Oh I didn't know about
/dev/stdout
!
Ah
Weird
Passing /dev/stdout
to esbuild prints nothing
But passing a random file name is fast