Skip to content

Commit e4a54ff

Browse files
authored
fix: issue with generate icon font (#432)
1 parent f954457 commit e4a54ff

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"exports": {
1919
".": {
2020
"types": "./dist/commands/index.d.ts",
21-
"import": "./dist/commands/index.js"
21+
"default": "./dist/commands/index.js"
2222
}
2323
},
2424
"scripts": {

src/commands/generate-icon-fonts/index.ts

-3
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,6 @@ export const generateIconFonts = async (
3535
const subTemporaryDir = `${temporaryDirectory}/${directory}`;
3636
debugLog(debug, `svgToFont for ${subTemporaryDir}`);
3737
await svgToFont(subTemporaryDir, subDist, values);
38-
39-
rmSync(`${subDist}/symbol.html`);
40-
rmSync(`${subDist}/unicode.html`);
4138
}
4239

4340
if (overwriteSources && iconPaths) {

0 commit comments

Comments
 (0)