Skip to content

Library is 64Kb, minified #16

@NullVoxPopuli

Description

@NullVoxPopuli

Posting from: https://bsky.app/profile/nullvoxpopuli.com/post/3l4g6z3holy27

After gzip, this library (+ dependencies) are 23kb.

This is quite hefty.

BundlePhobia: https://bundlephobia.com/package/[email protected]
image

Some of it is lit -- but a lot of it is just this component.

some questions:

  • Does it need all of lit?
  • is this library side-effect free?
    • this would allow tree-shaking of unused consts/functions/etc
    • BundlePhobia says:
      Exports analysis is available only for packages that export ES Modules and are side-effect free.
      This package [...] isn't marked side-effect free.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions