Skip to content
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.

Reduce package bundle size #37

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

kwhitejr
Copy link

The unpacked bundle for @1.0.0-beta.2 is ~12.5 MB.

This PR uses rollup to reduce bundle size to ~3.8 MB (the three options, esm, umd and cjs are all slightly different).

3.8 MB is probably still too big for production use, but this is just a first pass and there are likely more minification opportunities, both for this repo and its main dependency, signalfx.

Related issue: #23

@jtmal-signalfx
Copy link
Contributor

Let me first check if we can get rid of the bundled dependency, I need to find out why it was added in the first place.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants