What is Nostr?
T.J. Crowder /
npub1y9a…42yz
2023-04-08 09:50:29

T.J. Crowder on Nostr: #[0] A company wanted me to do a small closed-source command-line tool, and I thought ...

npub1pgs0t3ppz4wtsnpkh4aqfxgy6u644ntkzg4ju6gha2v6qsvpltaqt7gyss (npub1pgs…gyss) A company wanted me to do a small closed-source command-line tool, and I thought "Hey, let's use Deno and compile it!" Looks like if I want to minify and avoid having the TypeScript source in the executable, I can't _just_ use `deno compile` (fair enough), but this process seems like a winner:

1. Use `deno_emit` to build a JavaScript bundle

2. Use `esbuild` to minify it

3. Use `deno compile` to create the executable

Sound about right, or am I missing a trick?

TIA!

npub1ts8x45snjlqc67rup54g554g8xxthrx4pw0wzrrnmltpvz22hhqq32xugm (npub1ts8…xugm)
Author Public Key
npub1y9avqucag5znf26est6lph8k050ghve9w74xj0wmn0fxxuvjj0tsr242yz