Skip to content

Improve bundle size by replacing react-icons#104

Open
MrToph wants to merge 1 commit intoEOSIO:masterfrom
MrToph:feature/improve-bundle-size
Open

Improve bundle size by replacing react-icons#104
MrToph wants to merge 1 commit intoEOSIO:masterfrom
MrToph:feature/improve-bundle-size

Conversation

@MrToph
Copy link
Copy Markdown

@MrToph MrToph commented Nov 10, 2020

Tree-shaking with react-icons using babel does not work and several megabytes of icon data is included, see issue #103.

Change Description

  • Removes react-icons and uses a different package that works with tree-shaking. See here

Reduces bundle size from 2MB to 319 KB.

API Changes

None

Documentation Additions

None

@kjg
Copy link
Copy Markdown

kjg commented Apr 20, 2021

Alternate approach in #112

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