Skip to content

Commit 559c9b3

Browse files
committed
fix: resolving the types correctly
1 parent b87c410 commit 559c9b3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/makeProdPkg.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,12 +77,12 @@ function main() {
7777

7878
// Build typesVersions
7979
if (iconVariantName === 'regular') {
80-
typesVersion['>4.0'][relativePath(iconName)] = [iconPaths.types];
80+
typesVersion['>4.0'][iconName] = [iconPaths.types];
8181
typesVersion['>4.0'][
8282
relativePath(join(COMPONENTS_FOLDER, makeComponentFilename(iconComponent)))
8383
] = [componentPaths.types];
8484
} else {
85-
typesVersion['>4.0'][relativePath(join(iconVariantName, iconName))] = [iconPaths.types];
85+
typesVersion['>4.0'][join(iconVariantName, iconName)] = [iconPaths.types];
8686
typesVersion['>4.0'][
8787
relativePath(
8888
join(COMPONENTS_FOLDER, iconVariantName, makeComponentFilename(iconComponent))

0 commit comments

Comments
 (0)