-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: bump @svgr/*
dependencies
#1359
Conversation
}, | ||
'removeXMLNS', | ||
removeInkscapeAttrs, |
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.
This is only used within flags
as the third-party library we use doesn't strip these attributes out. TS wouldn't build the icons with these attributes left behind, as it's unknown to them and they are unnecessary to use.
|
||
export const ${variables.componentName} = memo(createStyledFlagIcon(FlagIconWithForwardedRef)); | ||
|
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.
Eslint will get a majority of the spacing issues, but unfortunate to a newer babel plugin version, newlines will not be preserved. See gregberge/svgr#809
You'll notice this more in the rebuilt icons.
import { PrivateIconProps } from '../../base'; | ||
import { createStyledFlagIcon, FlagIconProps } from '../base'; |
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.
Instead of having two imports, I just reexported the type from ../base
47a81c4
to
dda9a65
Compare
What?
Bumps
@svgr/*
plugins and all the changes that come with it. This includes updating the build scripts, adding a custom SVGO plugin, and rebuilding all the icons. I will be leaving some comments on notable changes below.Note
Reviewing by commits will be helpful here:
Why?
Mostly to stop the annoying dependabot updates, but really to update to the latest.
Screenshots/Screen Recordings