Skip to content

Commit

Permalink
fix: add exports.types field 2 (#116)
Browse files Browse the repository at this point in the history
  • Loading branch information
hrsh7th authored Nov 29, 2023
1 parent 103165c commit 6595853
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/tools/dualPackageSupport.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const isSupportModuleType = (text: string | undefined): text is SupportModuleTyp
if (!text) {
return false;
}
return ["node", "browser", "require", "import", "default"].includes(text);
return ["node", "browser", "require", "import", "default", "types"].includes(text);
};

const trimExtension = (p: string): string => {
Expand Down

0 comments on commit 6595853

Please sign in to comment.