Commit b75f0da
fix(exports): add ./package.json subpath and document ESM-only (#75)
Stays ESM-only (Node ≥20 already the floor, dual CJS would add build
complexity for no alpha benefit). Adds the missing ./package.json
subpath export (fixes typedoc and some bundlers) and a "default"
fallback condition on the main entry. Documents the ESM requirement
clearly in the README.
Closes #49
Co-authored-by: Claude <noreply@anthropic.com>1 parent a1ef0e5 commit b75f0da
2 files changed
Lines changed: 8 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
15 | 19 | | |
16 | 20 | | |
17 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | | - | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
13 | 15 | | |
14 | 16 | | |
15 | 17 | | |
| |||
0 commit comments