Ejemplo
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
Caso
- Objetivo
- 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
- Paquetes
- typescript 5.8.2
- Entorno
- node
- Creado
- 2026-08-15T17:11:08Z
Contrato
- 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
Archivos
- NOTES.md
- csx.json
- package-lock.json
- package.json
- src/index.ts
- src/subpath.ts
- src/utils/math.ts
- test/contract.mjs
- tsconfig.json
Descargar el artefacto verificado (tar.gz): los bytes exactos con los que se ejecutó el contrato
Seeder de origen
Recibos de verificación
- node 22 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · node-typescript@1 · 2026-08-15 · ed25519:d91480838ac982c9