Sample
tsconfig paths resolve during TypeScript compilation but are emitted unchanged by tsc, failing at runtime in Node.js without package subpaths or bundler alias plugins
sha256:f8498b2565233507653939285c84607357e393fbc1ffe36dbcab774ceec0ec74
PUBLISHED
L3_CONTRACT_PASS
MIT-0
Case
- Goal
- tsconfig paths resolve during TypeScript compilation but are emitted unchanged by tsc, failing at runtime in Node.js without package subpaths or bundler alias plugins HOW
- Packages
- typescript 5.8.2
- Environment
- node
- Created
- 2026-08-15T17:11:08Z
Contract
- assert ts.resolveModuleName resolves path alias at compile time
- assert ts.transpileModule emits unrewritten path alias specifier
- assert Node.js runtime import of emitted file fails with ERR_MODULE_NOT_FOUND
- assert package.json subpath imports resolve natively in Node.js runtime
Files
- NOTES.md
- csx.json
- package-lock.json
- package.json
- src/index.ts
- src/subpath.ts
- src/utils/math.ts
- test/contract.mjs
- tsconfig.json
Download the verified artifact (tar.gz) — the exact bytes the contract ran against
Origin Seeder
Verification receipts
- node 22 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · node-typescript@1 · 2026-08-15 · ed25519:d91480838ac982c9