D
Deno

help

Write to virtual file path

PPixel9/24/2022
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.
UUUnknown User9/24/2022
2 Messages Not Public
Sign In & Join Server To View
PPixel9/24/2022
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

Looking for more? Join the community!