diff --git a/.changeset/silent-boxes-design.md b/.changeset/silent-boxes-design.md new file mode 100644 index 000000000..88831e094 --- /dev/null +++ b/.changeset/silent-boxes-design.md @@ -0,0 +1,5 @@ +--- +'graphql-config': patch +--- + +Fix esm compatibility diff --git a/package.json b/package.json index f218ade17..7332192d3 100644 --- a/package.json +++ b/package.json @@ -36,9 +36,9 @@ "postinstall": "tsx scripts/patch-graphql.ts", "prepublishOnly": "pnpm run build", "clean": "rimraf dist", - "prebuild": "pnpm run clean && pnpm run json-schema", + "prebuild": "pnpm run clean", "postbuild": "tsx scripts/postbuild.ts", - "build": "bob build", + "build": "pnpm run prebuild && pnpm run json-schema && bob build && pnpm run postbuild", "prettier": "prettier --cache --write --list-different .", "prettier:check": "prettier --cache --check .", "lint": "eslint --cache --cache-location node_modules/.cache/.eslintcache --ignore-path .gitignore .",