Skip to content

Commit

Permalink
fix: typing
Browse files Browse the repository at this point in the history
  • Loading branch information
keellyp committed Sep 30, 2024
1 parent 3c01e92 commit efa62c2
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
10 changes: 9 additions & 1 deletion webpack.dev.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,15 @@ module.exports = (env) =>
loader: '@svgr/webpack',
options: {
svgoConfig: {
pluggins: [{ prefixIds: false, prefixClassNames: false }],
plugins: [
{
name: 'prefixIds',
params: {
prefixIds: false,
prefixClassNames: false,
},
},
],
},
},
},
Expand Down
10 changes: 9 additions & 1 deletion webpack.prod.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,15 @@ const config = {
loader: '@svgr/webpack',
options: {
svgoConfig: {
pluggins: [{ prefixIds: false, prefixClassNames: false }],
plugins: [
{
name: 'prefixIds',
params: {
prefixIds: false,
prefixClassNames: false,
},
},
],
},
},
},
Expand Down

0 comments on commit efa62c2

Please sign in to comment.