-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: svgo plugin to use collision resistant IDs (#3334)
* fix(svgo/r config): add prefixIds plugin to svgoConfig in webpack svgr-loader and vite-plugin-svgr in order to insure that there are no id collisions between svg files * chore: add changeset --------- Co-authored-by: Byron Wall <[email protected]> Co-authored-by: Tobias Deekens <[email protected]>
- Loading branch information
1 parent
7e62ee1
commit 225c110
Showing
4 changed files
with
58 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
"@commercetools-frontend/mc-scripts": patch | ||
--- | ||
|
||
Avoid collisions of SVG IDs in webpack's SVGR loader and Vite SVGR plugin. | ||
|
||
More information about the approach can be found [here](https://github.com/svg/svgo/issues/1746#issuecomment-1803600573). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
225c110
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.
Deploy preview for merchant-center-application-kit ready!
✅ Preview
https://merchant-center-application-6t1r8f8he-commercetools.vercel.app
Built with commit 225c110.
This pull request is being automatically deployed with vercel-action
225c110
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.
Deploy preview for application-kit-custom-views ready!
✅ Preview
https://application-kit-custom-views-1c3ua3jqq-commercetools.vercel.app
Built with commit 225c110.
This pull request is being automatically deployed with vercel-action