This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-12-21
Channels
- # adventofcode (47)
- # aleph (18)
- # announcements (20)
- # babashka (81)
- # beginners (23)
- # biff (6)
- # calva (5)
- # cider (50)
- # clojure (34)
- # clojure-europe (19)
- # clojure-norway (11)
- # clojure-spec (6)
- # clojure-uk (1)
- # clojurescript (2)
- # conjure (2)
- # cursive (14)
- # datomic (1)
- # humbleui (11)
- # hyperfiddle (3)
- # introduce-yourself (5)
- # joyride (1)
- # nbb (7)
- # off-topic (19)
- # podcasts-discuss (1)
- # reagent (3)
- # reitit (19)
- # releases (1)
- # ring-swagger (1)
- # shadow-cljs (29)
- # sql (6)
- # squint (56)
Is there a way to bundle a distributed (into multiple files) nbb script into an executable that is not ~170MB and takes 2-3 seconds to start? (Looking at caxa
)
I was initially looking for a fast-starting CLI tool with subcommands which I like about bb
but came to nbb
due to the lack of nice prompts - as npm delivers a good package for it I tried it with nbb
now but hit the wall at actually creating the fast single executable with it that I was trying to achieve. In the end it should just be an installable executable - preferrably working on all major platforms
@alpox why not distribute it as an npm package and let people run it via npx your-package
?
My brain must have frozen there for the evening. Why didn't I think of that 😅 thanks, savior
It should not be public in the end though but I believe there are ways to make such private
There are some docs here: https://github.com/babashka/nbb/blob/main/doc/publish/README.md