Skip to content

Commit

Permalink
Merge pull request #47 from indaco/fix-46
Browse files Browse the repository at this point in the history
fix: resolving the types correctly
  • Loading branch information
indaco committed Nov 3, 2023
2 parents b87c410 + 559c9b3 commit 7523d51
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/makeProdPkg.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,12 +77,12 @@ function main() {

// Build typesVersions
if (iconVariantName === 'regular') {
typesVersion['>4.0'][relativePath(iconName)] = [iconPaths.types];
typesVersion['>4.0'][iconName] = [iconPaths.types];
typesVersion['>4.0'][
relativePath(join(COMPONENTS_FOLDER, makeComponentFilename(iconComponent)))
] = [componentPaths.types];
} else {
typesVersion['>4.0'][relativePath(join(iconVariantName, iconName))] = [iconPaths.types];
typesVersion['>4.0'][join(iconVariantName, iconName)] = [iconPaths.types];
typesVersion['>4.0'][
relativePath(
join(COMPONENTS_FOLDER, iconVariantName, makeComponentFilename(iconComponent))
Expand Down

0 comments on commit 7523d51

Please sign in to comment.