Skip to content

Commit

Permalink
fix(im): fix duplicate component names.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Apr 16, 2023
1 parent 7fa8f2a commit 83a8941
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion icons/ic/svgo.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ module.exports = {
}
}
if (item.name === 'circle') {
//Fix: Type 'number' is not assignable to type 'string'.
// Fix: Type 'number' is not assignable to type 'string'.
const str = item.attributes['fill'];
if (str && !str.startsWith('#')) {
console.log('item:', str, item)
Expand Down
2 changes: 1 addition & 1 deletion icons/im/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"scripts": {
"cpy": "cpy '../../www/public/icons/im/*.svg' svg --flat",
"tsbb": "tsbb build src/*.tsx --useBabel",
"icongo": "icongo --prefix IM --source svg -o ./src",
"icongo": "icongo --prefix IM --source svg -o ./src -r '{\"pagebreak\": \"IMPagebreak1\"}'",
"build": "npm run cpy && npm run icongo && npm run tsbb",
"start": "npm run build"
},
Expand Down

0 comments on commit 83a8941

Please sign in to comment.