Commit afbe5c5
authored
fix: add default + require exports to @relaycast/sdk (#90)
* fix: add default + require exports to @relaycast/sdk
tsx (and other CJS-in-ESM resolvers) fails with ERR_PACKAGE_PATH_NOT_EXPORTED
when only 'import' is specified in exports map. Adding 'default' and 'require'
entries fixes interop with tsx, ts-node, and mixed CJS/ESM consumers.
* address feedback1 parent af281a9 commit afbe5c5
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
14 | | - | |
| 15 | + | |
| 16 | + | |
15 | 17 | | |
16 | 18 | | |
17 | 19 | | |
| |||
0 commit comments