We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6891688 commit 18bfca8Copy full SHA for 18bfca8
.changeset/silent-boxes-design.md
@@ -0,0 +1,5 @@
1
+---
2
+'graphql-config': patch
3
4
+
5
+Fix esm compatibility
package.json
@@ -36,9 +36,9 @@
36
"postinstall": "tsx scripts/patch-graphql.ts",
37
"prepublishOnly": "pnpm run build",
38
"clean": "rimraf dist",
39
- "prebuild": "pnpm run clean && pnpm run json-schema",
+ "prebuild": "pnpm run clean",
40
"postbuild": "tsx scripts/postbuild.ts",
41
- "build": "bob build",
+ "build": "pnpm run prebuild && pnpm run json-schema && bob build && pnpm run postbuild",
42
"prettier": "prettier --cache --write --list-different .",
43
"prettier:check": "prettier --cache --check .",
44
"lint": "eslint --cache --cache-location node_modules/.cache/.eslintcache --ignore-path .gitignore .",
0 commit comments