Deno 1.6 supports compiling TypeScript to a single executable
1–10 of 284 posts
Re: Deno 1.6 supports compiling TypeScript to a single executable
#2Re: Deno 1.6 supports compiling TypeScript to a single executable
#3Re: Deno 1.6 supports compiling TypeScript to a single executable
#4Edit: I completely missed that this Deno release packaged the runtime as well, disregard this as an alternative! Guess I’ll eat the downvotes I deserve :P
Re: Deno 1.6 supports compiling TypeScript to a single executable
#5Re: Deno 1.6 supports compiling TypeScript to a single executable
#6Just throwing it out there for visibility, ncc will compile a TS entrypoint down to a single file as well, without having to use Deno https://www.npmjs.com/package/@vercel/ncc Edit: I completely missed that this Deno release packaged the runtime as well, disregard this as an alternative! Guess I’ll eat the downvotes I deserve :P
But you need to use ncc? What's the relevant difference?
Re: Deno 1.6 supports compiling TypeScript to a single executable
#7Just throwing it out there for visibility, ncc will compile a TS entrypoint down to a single file as well, without having to use Deno https://www.npmjs.com/package/@vercel/ncc Edit: I completely missed that this Deno release packaged the runtime as well, disregard this as an alternative! Guess I’ll eat the downvotes I deserve :P
Re: Deno 1.6 supports compiling TypeScript to a single executable
#8Just throwing it out there for visibility, ncc will compile a TS entrypoint down to a single file as well, without having to use Deno https://www.npmjs.com/package/@vercel/ncc Edit: I completely missed that this Deno release packaged the runtime as well, disregard this as an alternative! Guess I’ll eat the downvotes I deserve :P
Re: Deno 1.6 supports compiling TypeScript to a single executable
#9This is such a good feature. Go has been great for shipping single purpose binaries (like the CLI for https://fly.io ), but I really enjoy writing TypeScript more than Go.
Static binaries are so much easier that the gross PHP / Ruby / Python pattern that has to ship directories full of files that (usually) have to be put in the correct place.
It's also easier than shipping a runtime like a JVM.
With a single binary, containers get even slimmer.
Re: Deno 1.6 supports compiling TypeScript to a single executable
#10Does this offer a speed increase vs running the the code directly using $ deno test.js ( not sure what the exact command is )
So it's functionally equivalent to running using deno test.js