resize-observer icon indicating copy to clipboard operation
resize-observer copied to clipboard

Refactor and reduce code to allow for a smaller bundle size

Open TremayneChrist opened this issue 4 years ago • 1 comments

Supporting added ResizeObserver features and improving the library, has increased the bundle size. As the specification is now at a stable state, it could be a good time to refactor and streamline the code.

Size: 2.8KB, minified and gzipped. Goal: <=2.5KB, minified and gzipped.

https://bundlephobia.com/result?p=@juggle/resize-observer

TremayneChrist avatar Mar 04 '20 14:03 TremayneChrist

Would also be happy with staying around 2.8KB with all the additional features for v4.

TremayneChrist avatar Mar 04 '20 14:03 TremayneChrist