Experience-Monks / generator-jam3

This is a generator for Jam3 projects
MIT License
37 stars 3 forks source link

Browserify/Bundle Compression & Optimizations #287

Open mattdesl opened 7 years ago

mattdesl commented 7 years ago

There's some useful stuff we could add to the bundle options for browserify. This would have to be passed to dev.js and release.js.

https://github.com/Jam3/prj-gout/blob/master/scripts/bundleOptions.js

jeremenichelli commented 7 years ago

It would be great if we all start playing with this on our current projects running local tests or give them a try on some already developed projects, but I'm really looking forward to add most of this stuff.

I'm really ashamed of the bundle size we are delivering currently, so let me know if you need any help testing all these @mattdesl.

Also a side note, I remember mentioning react-optimize preset in one of my talks about React performance and honestly didn't notice any bundle size reduction or speed improvement.