Commit ec6080d
committed
fix: add exports field to graphql-query for ./runtime sub-path resolution
The cli-e2e tests generate ORM code in /tmp and require the runtime
sub-path. Without an explicit exports map, Node cannot resolve
@constructive-io/graphql-query/runtime. This adds exports for both
the root and ./runtime sub-paths (CJS, ESM, and types).1 parent 34abe3e commit ec6080d
1 file changed
Lines changed: 12 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
9 | 21 | | |
10 | 22 | | |
11 | 23 | | |
| |||
0 commit comments