Commit 9b73758
fix(types): add root types.d.ts shim for node10 module resolution
attw fails under node10 resolution because it ignores the "exports" map and
the types module has no root shim. Create a declaration-only root shim
(types.d.ts without a runtime types.js) in postbuild, matching how the other
modules are exposed to node10 consumers.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 321d5ac commit 9b73758
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
52 | 56 | | |
53 | 57 | | |
54 | 58 | | |
| |||
0 commit comments