You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected behavior react-digraph should only need to output the one icon that is being used in the final production build. Optimizing this is fairly straight forward, and will reduce the prod build of react-digraph by about 60%.
Screenshots
Desktop (please complete the following information):
OS: N/A
Browser N/A
Version N/A
Additional context
I plan on fixing this myself. This issue is only for tracking purposes.
The text was updated successfully, but these errors were encountered:
@ajbogh / @chiwoojo
I was able to optimize the production build footprint by 68% by only importing the expand icon that is being used by react-digraph. This reduces the GZipped size from 548kb to 174kb.
Once #107 is merged, I'll submit the pull request for the optimization above.
Describe the bug
This is part II of issue #106
react-digraph
is importing all ofreact-icons
, but it is only using one icon from font awesome.To Reproduce
Steps to reproduce the behavior:
yarn && yarn analyze-bundle
Expected behavior
react-digraph
should only need to output the one icon that is being used in the final production build. Optimizing this is fairly straight forward, and will reduce the prod build ofreact-digraph
by about 60%.Screenshots

Desktop (please complete the following information):
Additional context
I plan on fixing this myself. This issue is only for tracking purposes.
The text was updated successfully, but these errors were encountered: