This repository was archived by the owner on May 17, 2025. It is now read-only.
Commit 3419163
authored
fix: remove ESM (#304)
vitest, vite, and a few other bundlers are having issues with the graphql subpath imports as they're not declared in the graphql export map. This is fine for commonjs but it wreaks havock on these esm loaders. I think this is a bug in the commonjs/esm interop but here we are.
BREAKING CHANGE: This removes the ESM export from the export maps and the shipped files to work around buggy esm/commonjs interop1 parent 577e93f commit 3419163
2 files changed
+1
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | 8 | | |
10 | 9 | | |
11 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
0 commit comments