Skip to content

Commit

Permalink
fix: remove @svgr/plugin-svgo as it doesn't generate unique prefix ids
Browse files Browse the repository at this point in the history
  • Loading branch information
samshara committed Jun 30, 2023
1 parent 4d5445c commit b295d58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const getReactComponent = async (svg: string, componentName: string, format: For
{
icon: true,
titleProp: true,
plugins: ['@svgr/plugin-svgo', '@svgr/plugin-jsx'],
plugins: ['@svgr/plugin-jsx'], // FIXME: @svgr/plugin-svgo is not used as it doesn't provide unique prefix ids
},
{ componentName },
);
Expand Down

0 comments on commit b295d58

Please sign in to comment.