-
Notifications
You must be signed in to change notification settings - Fork 5.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
deno compile [--lite] [--static] ... #10507
Comments
In 1.10.2, deno compile is no |
I also noticed that the —lite option has gone missing. I could not find any mention of that on the release notes. Is this a bug or was there a conscious decision to remove this? Final binary size is a concern for many types of applications (iot, cli), and I would certainly appreciate to see it back. |
Removing lite binaries was a conscious decision. |
What do you mean by no dependency? Using |
@MierenManz did it increase the compile time for non-lite builds? I think having a longer compile time is a reasonable tradeoff if you want to ship the smallest binary possible. |
Ah, I just bumped into this as well. Being able to generate smaller binaries is killer for dealing with more constrained environments. Anybody have any idea if this might be feasible anytime soon? |
Ah, so the "build times" referenced up-thread weren't end-user binary build-times, but denos CI, that makes more sense. #10350 I wouldn't mind building denort from source for this, can we provide an alternate deno binary to |
I think it's a good compromise, I'm willing to accept a PR that adds a flag to custom binary. |
@bartlomieju sorry I meant "no dependency = static linking". Maybe easier to have a statically linked Deno first. |
would it be possible to have a lite-binary by utilizing system-bundled js-runtimes, a la https://neutralino.js.org ? this should reduce file-sizes even further without increasing build-time? |
What's the status on this issue? I'm building a CLI app on deno and i'd like to ship a binary |
Sorry, I started a new job and completely ran out of free time to mess around. someday i'd like to revisit this (and deno, in general), but for the time-being I'm stuck in nodeland. tiny deno binaries in an extremely minimal container will be veryvery nice |
We are providing |
Feature request: compile JS/TS scripts with no dependency. To be used in IoT, IIoT, embedded devices etc.
The text was updated successfully, but these errors were encountered: