Just peeked at #Kitten’s (https://codeberg.org/kitten/app) esbuild* bundle size and wow… with --sourcemap=inline, it’s 8MB. Without? 3MB 🙀
So I guess it’s time for separate debug and release builds then :) It’s not everyday a single flag can reduce the size of your app’s download 2.6× but, hey, I’ll gladly take it 😺
* esbuild (https://esbuild.github.io/) is a blazingly fast and robust JavaScript bundler. The --analyze & --metafile flags and https://esbuild.github.io/analyze/ help with bundle analysis.