toss / suspensive

Manage asynchronous operations, timing, error handling, detecting intersection of elements, and caching easily and declaratively
https://suspensive.org
MIT License
490 stars 48 forks source link

Seeing that the bundle size has been dramatically reduced, I wanted to apply it right away 🚀🚀. #465

Closed manudeli closed 8 months ago

manudeli commented 9 months ago
          Seeing that the bundle size has been dramatically reduced, I wanted to apply it right away 🚀🚀. 

Since we're working on reducing the bundle size, why don't we set the treeshake option and the minify and minifyWhitespace options?

I know they're all options that contribute to optimizing the bundle size

for example treeshake option (Delay.js)

image

left: turn on treeshake


default (on this PR) (--force option build)

image

apply (treeshake, minify, minifyWhitespace)

image

Originally posted by @minsoo-web in https://github.com/suspensive/react/pull/463#pullrequestreview-1778304215

manudeli commented 8 months ago

@minsoo-web Could I know your plan for this?