Skip to content

Refactor and reduce code to allow for a smaller bundle size #100

Open

Description

@TremayneChrist

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

Activity

  1. added this to the v4 milestone on Mar 4, 2020
  2. changed the title [-]Refactor to reduce bundle size[/-] [+]Refactor and reduce code to allow for a smaller bundle size[/+] on Mar 4, 2020
  3. TremayneChrist commented on Mar 4, 2020

    @TremayneChrist
    MemberAuthor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    v4Add to version 4 of the library

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions