We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 103165c commit 6595853Copy full SHA for 6595853
scripts/tools/dualPackageSupport.ts
@@ -36,7 +36,7 @@ const isSupportModuleType = (text: string | undefined): text is SupportModuleTyp
36
if (!text) {
37
return false;
38
}
39
- return ["node", "browser", "require", "import", "default"].includes(text);
+ return ["node", "browser", "require", "import", "default", "types"].includes(text);
40
};
41
42
const trimExtension = (p: string): string => {
0 commit comments