fix: skip node builtins when classifying //nodejs interop targets

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014bq66fSmaPvLtjnDPfMYcj
This commit is contained in:
Ruben Fiszel
2026-08-21 09:01:36 +00:00
co-authored by Claude Opus 5
parent 1a150736e2
commit 1b4083ffdb
+1 -1
View File
@@ -161,7 +161,7 @@ function wmCommonJsSpecs(specs, jobDir, nodePath) {
} catch (err) {
continue;
}
} else if (resolved[spec] != null) {
} else if (resolved[spec]?.startsWith("file:")) {
file = fileURLToPath(resolved[spec]);
} else {
continue;