Skip to content

Commit

Permalink
fix: ignore error
Browse files Browse the repository at this point in the history
  • Loading branch information
hunghg255 committed Jan 12, 2025
1 parent fe352f1 commit 949cd53
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "csvgtocss",
"version": "0.1.2",
"type": "module",
"packageManager": "pnpm@9.13.2",
"packageManager": "pnpm@9.15.3",
"description": "Convert svg to css",
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
Expand Down Expand Up @@ -37,11 +37,11 @@
"devDependencies": {
"@hunghg255/eslint-config-ts": "^0.0.2",
"@types/fs-extra": "^11.0.4",
"@types/node": "^22.9.0",
"bumpp": "^9.8.1",
"@types/node": "^22.10.5",
"bumpp": "^9.10.0",
"eslint": "^8.57.1",
"prettier": "^2.8.8",
"typescript": "^5.6.3",
"typescript": "^5.7.3",
"unbuild": "^2.0.0"
},
"bin": {
Expand All @@ -60,12 +60,12 @@
"url": "https://github.com/hunghg255/csvgtocss/issues"
},
"dependencies": {
"@iconify/tools": "^4.0.7",
"@iconify/utils": "^2.1.33",
"@iconify/tools": "^4.1.1",
"@iconify/utils": "^2.2.1",
"@rgrove/parse-xml": "^4.2.0",
"cheerio": "^1.0.0",
"commander": "^11.1.0",
"consola": "^3.2.3",
"consola": "^3.3.3",
"fs-extra": "~11.1.1",
"picocolors": "^1.1.1",
"unreadconfig": "^0.1.0"
Expand Down
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ export const svg2Font = async (options: SvgToCssOptions) => {
// Import icons
const iconSet = await importDirectory(src, {
prefix,
ignoreImportErrors: true,
});

const svgMonochrome: any = [];
Expand Down

0 comments on commit 949cd53

Please sign in to comment.