elsaland / elsa

❄️ Elsa is a minimal runtime for JavaScript and TypeScript written in Go
MIT License
2.79k stars 61 forks source link

Support shebang #98

Closed mattn closed 3 years ago

mattn commented 3 years ago

Or elsa install myapp.ts to make standalone script.

littledivy commented 3 years ago

I'm in favour of elsa install 👍

buttercubz commented 3 years ago

I think we should opt for an option similar to the one used by deno, take the file to install and then generate the minified then generate a .cmd (for windows) or .sh (for mac or linux) file and point to a minified file

CC @littledivy

littledivy commented 3 years ago

Agree with @buttercubz - #106 implements a logic for bundling + installing script