fix(javascript): preserve module identity and boundary fields

This commit is contained in:
morluto committed 2026-10-15 03:43:28 +08:00
1 parent 0405c9d361
commit b47055edbe
7 files changed
+185

No files matched your search

@@ -45,6 +45,9 @@ export interface SourceToBundleCandidateIndex {
}
const RELEVANT_NODE_KINDS = new Set([
// Non-JavaScript source files such as JSON are projected as artifacts.
// Their content digests and paths still identify historical source files.
"artifact",
"javascript-asset",
"javascript-module",
"source-module",