So I just hand-rolled an initial distribution bundle for NodeKit. Contents:
- nodekit bundle (main process): 1.8MB
- es module loader bundle (0.9MB)
- esbuild (Linux 64): 7.8MB
+ Node.js 16.13.2 (compressed): 21.6MB
= Total (inc. Node.js): ~25.4MB
Compare that to the Site.js Linux binary (which also included the Node.js binary) and it’s half the size (51MB vs 25.4MB).
PS. Tune in tomorrow to see an early demo: https://small-tech.org/small-is-beautiful
This is my personal Mastodon.