I tried to check the size of my starter project with the bundle-visualizer package.
I used the command
meteor --extra-packages bundle-visualizer --production and my packages include
firstname.lastname@example.org # CSS minifier run for production mode email@example.com # JS minifier run for production mode
But as you can see in the image below, my react-dom is around 195kB, but if I open
node_modules\react-dom\dist I can find that it is supposed to be 128kB minified.
jQuery is 96.5kB which is big but consistent with its minified version, and react itself is around 40kB.
For those interested, jagi:astronomy is 178kB and viewmodel-react is 50.2kB.
With everything together it’s already 1MB.
The question is: what to do for react-dom, and is my bundle-size optimizable ?