101arrowz / fflate

High performance (de)compression in an 8kB package
https://101arrowz.github.io/fflate
MIT License
2.27k stars 79 forks source link

Fix size regressions #115

Closed 101arrowz closed 2 years ago

101arrowz commented 2 years ago

A key focus of this package has always been small bundle size but I've noticed that newer versions have had larger than expected sizes, even with tree-shaking. I'm going to try to reduce bundle size dramatically to actually fulfill the 8kB claim by fixing issues preventing proper tree-shaking.

101arrowz commented 2 years ago

There's a bug in Parcel causing larger size than expected: https://github.com/parcel-bundler/parcel/issues/7481. I'll check for issues with Webpack soon.

lunabunn commented 2 years ago

A heads up that the issue upstream with parcel was resolved 3 days ago 🎉

101arrowz commented 2 years ago

Thanks for letting me know, I'll close this after I verify any issues w/ Webpack.

101arrowz commented 2 years ago

I think the size regressions are mostly fixed. If there are any future issues I encounter I will reopen this issue.