Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@kjg
Copy link

@kjg kjg commented Apr 20, 2021

Without including the esm versions of the files it's not possible for consuming projects to tree shake out unused parts of libs.
That means over 1MB of react-icons gets pulled in for just the few icons that this package uses.

This change cut my package size (that depends on this lib) by over 500k!

Screen Shot 2021-04-20 at Apr 20, 05 22 09 PM

Fixes #103
Fixes #104
Fixes #105

@kjg
Copy link
Author

kjg commented Apr 20, 2021

This is an alternate approach to #105

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants