We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 25b5940 commit 9dd0d10Copy full SHA for 9dd0d10
src/scripts/list-exports.ts
@@ -42,7 +42,9 @@ const newExports = {
42
for (const ext of [".ts", ".tsx"] as const) {
43
const relativePath = pathJoin(basename, `index${ext}`);
44
45
- if (!fs.existsSync(pathJoin(srcDirPath, relativePath))) {
+ if (
46
+ !fs.existsSync(pathJoin(srcDirPath, relativePath).replace(/\\/g, "/"))
47
+ ) {
48
continue;
49
}
50
0 commit comments