diff --git a/.changeset/whole-stars-marry.md b/.changeset/whole-stars-marry.md new file mode 100644 index 0000000..2e3f7d2 --- /dev/null +++ b/.changeset/whole-stars-marry.md @@ -0,0 +1,5 @@ +--- +"@labdigital/graphql-fetcher": patch +--- + +Resolve ESM import issue diff --git a/tsdown.config.js b/tsdown.config.js index afc5e1a..67f73f8 100644 --- a/tsdown.config.js +++ b/tsdown.config.js @@ -9,6 +9,7 @@ export default defineConfig([ sourcemap: true, format: ["esm", "cjs"], outDir: "dist", + fixedExtension: false, }, { entry: ["src/server.ts"], @@ -18,5 +19,6 @@ export default defineConfig([ sourcemap: true, format: ["esm", "cjs"], outDir: "dist", + fixedExtension: false, }, ]);