This was generated by AI during triage.
Parent
- Roadmap plan:
docs/plans/2026-06-22-rust-native-typescript-module-resolution-roadmap.md
- Package map condition plan:
docs/plans/2026-06-22-rust-native-package-map-condition-set-completion.md
- Roadmap node:
1-4-3. condition set handling for repo-local source
What to build
Read compilerOptions.customConditions from the Rust resolved TypeScript config model and apply those configured conditions to repo-local package exports / imports condition selection. The custom conditions should participate in the shared condition helper after types, import-kind/runtime condition, and node, and before default.
This must not expand node_modules, must not add a TypeScript compiler runtime dependency, and must not claim support for package-manager-specific condition semantics beyond the configured strings.
Acceptance criteria
Blocked by
Parent
docs/plans/2026-06-22-rust-native-typescript-module-resolution-roadmap.mddocs/plans/2026-06-22-rust-native-package-map-condition-set-completion.md1-4-3. condition set handling for repo-local sourceWhat to build
Read
compilerOptions.customConditionsfrom the Rust resolved TypeScript config model and apply those configured conditions to repo-local packageexports/importscondition selection. The custom conditions should participate in the shared condition helper aftertypes, import-kind/runtime condition, andnode, and beforedefault.This must not expand
node_modules, must not add a TypeScript compiler runtime dependency, and must not claim support for package-manager-specific condition semantics beyond the configured strings.Acceptance criteria
compilerOptions.customConditionsfrom direct and inherited repo-local configs.exportsrepo-local resolution can select a target through a configured custom condition.importsrepo-local resolution can select a target through a configured custom condition.defaultwhen custom conditions do not match.Blocked by