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!
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!