DenoDDeno
Powered by
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({ ... })
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 -
deno run esbuild.js | deno run -
.

I could solve the problem by writing to a temp file and running that.
Deno banner
DenoJoin
Chat about Deno, a modern runtime for JavaScript and TypeScript.
20,934Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

write map to .ts file
JordanJJordan / help
4y ago
Compiled program cannot write to file
KayKKay / help
3y ago
Deno write large file
AsafAAsaf / help
2y ago
Deno land file path
syntasticSsyntastic / help
14mo ago