Skip to content

Commit

Permalink
fix: issue with generate icon font (#432)
Browse files Browse the repository at this point in the history
  • Loading branch information
nmerget authored Jan 29, 2025
1 parent f954457 commit e4a54ff
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"exports": {
".": {
"types": "./dist/commands/index.d.ts",
"import": "./dist/commands/index.js"
"default": "./dist/commands/index.js"
}
},
"scripts": {
Expand Down
3 changes: 0 additions & 3 deletions src/commands/generate-icon-fonts/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,6 @@ export const generateIconFonts = async (
const subTemporaryDir = `${temporaryDirectory}/${directory}`;
debugLog(debug, `svgToFont for ${subTemporaryDir}`);
await svgToFont(subTemporaryDir, subDist, values);

rmSync(`${subDist}/symbol.html`);
rmSync(`${subDist}/unicode.html`);
}

if (overwriteSources && iconPaths) {
Expand Down

0 comments on commit e4a54ff

Please sign in to comment.