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 9d6fbee commit bcc93c2Copy full SHA for bcc93c2
scripts/validate-dist-exports.mjs
@@ -43,7 +43,9 @@ function checkExport(filePath) {
43
// Skip external packages - they are internal implementation details
44
// used by public dist/* modules. We only validate public exports.
45
const relativePath = path.relative(distDir, filePath)
46
- if (relativePath.startsWith('external/')) {
+ // Normalize path for cross-platform compatibility (Windows uses backslashes)
47
+ const normalizedPath = relativePath.split(path.sep).join('/')
48
+ if (normalizedPath.startsWith('external/')) {
49
return { path: filePath, ok: true, skipped: true }
50
}
51
0 commit comments