You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I love esbuild and I love Deno. But while esbuild works flawlessly when called inside a Deno script, I'd love to have it working with stdin & CLI. This would allow esbuild to be used on any output with a simple one-liner.
Basically I'm trying to "Denoify" this Node call (--version for demonstration)
npx esbuild --version
But this call will not produce any output
deno run --allow-read "https://deno.land/x/esbuild/mod.js" --version
Now if I want to use esbuild with Deno CLI, I have to go through this hoop. deno run --allow-read build.ts
Hello,
I love esbuild and I love Deno. But while esbuild works flawlessly when called inside a Deno script, I'd love to have it working with stdin & CLI. This would allow esbuild to be used on any output with a simple one-liner.
Basically I'm trying to "Denoify" this Node call (--version for demonstration)
But this call will not produce any output
deno run --allow-read "https://deno.land/x/esbuild/mod.js" --version
Now if I want to use esbuild with Deno CLI, I have to go through this hoop.
deno run --allow-read build.ts
But as demonstrated by examples, it should theoretically be possible to make esbuild module work in CLI?
Of course real-world usage would be to pipe CSS/JS/TS to esbuild for transforming or minification. Any thoughts? Thanks in advance.
The text was updated successfully, but these errors were encountered: