-
Notifications
You must be signed in to change notification settings - Fork 687
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[dev]: Update feather to 2.0.x #1416
Conversation
This pull request is automatically deployed with Now. Latest deployment for this branch: https://venia-git-updatefeather.magento-research1.now.sh |
import WifiIcon from 'react-feather/dist/icons/wifi'; | ||
import { AlertCircle as AlertCircleIcon } from 'react-feather'; | ||
import { CloudOff as CloudOffIcon } from 'react-feather'; | ||
import { Wifi as WifiIcon } from 'react-feather'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I could now combine these into a single import with csv -- just kept them individual for diff sake.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Combining would be nice. 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can do that -- the truth is I used a regex replace for these to make the initial conversion :D
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, works well. Good improvement. 👍
Description
Updates feathericons to 2.0.3 and uses named imports instead of specifying path.
Related Issue
Closes #1415 .
Verification Steps
venia-concept
runyarn build:analyze
before and after this PR. Compare size. After this PR we should gain less than a KB in size (probably due to updates in the feather repo).Screenshots / Screen Captures (if appropriate)
Before

After

Proposed Labels for Change Type/Package
Checklist: