Skip to content

Commit

Permalink
Use new config syntax for svgr
Browse files Browse the repository at this point in the history
  • Loading branch information
runely committed Feb 17, 2022
1 parent 98ed7f5 commit 4d748ec
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scripts/build/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,11 @@ export default {
plugins: [
url(),
svgr({
svgo: {
svgoConfig: {
plugins: [
{
removeViewBox: false
name: 'removeViewBox',
active: false
}
]
}
Expand Down

1 comment on commit 4d748ec

@vercel
Copy link

@vercel vercel bot commented on 4d748ec Feb 17, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.