Skip to content

Commit 933d288

Browse files
authored
fix: issue with wrong path for generate icon font (#624)
1 parent 22fc604 commit 933d288

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/CleanIcons.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
For icon font generation each icon should be a single path. To clean up your icons run:
44

55
```shell
6-
npx @db-ux/icon-font-tools clean-icons --src ./my-path-to/icons
6+
npx @db-ux/icon-font-tools clean-icons --src ./my-path-to/icons --ignore **/test.svg
77
```
88

99
We use [svg-fixer](https://github.com/oslllo/svg-fixer) to clean up the icons. This will slightly increase the file size but ensures that the icons are displayed correctly.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
"scripts": {
2525
"build": "npm-run-all -p build:*",
2626
"build:01_cli": "node esbuild.js",
27-
"build:01_icon_fonts_styles": "cpr src/commands/generate-icon-fonts/utils/styles dist/styles -o",
28-
"build:01_icon_fonts_templates": "cpr src/commands/generate-icon-fonts/utils/templates dist/templates -o",
27+
"build:01_icon_fonts_styles": "cpr src/commands/generate-icon-fonts/utils/styles dist/commands/generate-icon-fonts/utils/styles -o",
28+
"build:01_icon_fonts_templates": "cpr src/commands/generate-icon-fonts/utils/templates dist/commands/generate-icon-fonts/utils/templates -o",
2929
"build:02_rest": "tsc",
3030
"generate:api-docs": "tsx src/api-docs.ts",
3131
"lint": "eslint *.ts",

0 commit comments

Comments
 (0)