Closed levibuzolic closed 5 years ago
This is amazing! Thank you.
Makes much more sense to have it minified. I thought this was already the case as I thought dev=false
would also minify it. Apparently not if you fetch the bundle directly!
I'm actually gonna make this the default, as it reflects the bundle delivered to the user. With --dev
it will fetch unminified development bundle, this is analogue to React Native CLI behavior and saves us one flag.
Measuring minified bundle size can be a more realistic way of keeping track of app bundle size and boot performance, especially given minification may be removing dead code paths.