Closed nolanlawson closed 7 years ago
This PR reduces the bundle size of emojione-picker from 215524 bytes (216kB) min+gz to 149830 bytes (150kB) min+gz, a reduction of 30%. (I measured using npm run prepublish then browserify . | uglifyjs -mc | gzip -c | wc -c.)
emojione-picker
npm run prepublish
browserify . | uglifyjs -mc | gzip -c | wc -c
This trick is described in react-virtualized's documentation.
react-virtualized
Nice, loving these smalls changes with a bug impact! I'll get this merged in with https://github.com/tommoor/emojione-picker/pull/71 today.
This PR reduces the bundle size of
emojione-picker
from 215524 bytes (216kB) min+gz to 149830 bytes (150kB) min+gz, a reduction of 30%. (I measured usingnpm run prepublish
thenbrowserify . | uglifyjs -mc | gzip -c | wc -c
.)This trick is described in
react-virtualized
's documentation.