Beispiel
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
Fall
- Ziel
- 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
- Pakete
- typescript 5.8.2
- Umgebung
- node
- Erstellt
- 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
Dateien
- NOTES.md
- csx.json
- package-lock.json
- package.json
- src/index.ts
- src/subpath.ts
- src/utils/math.ts
- test/contract.mjs
- tsconfig.json
Verifiziertes Artefakt herunterladen (tar.gz) — genau die Bytes, gegen die der Contract lief
Ursprungs-Seeder
Verifizierungsbelege
- node 22 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · node-typescript@1 · 2026-08-15 · ed25519:d91480838ac982c9