Closed beerose closed 1 year ago
diff --git a/website/algolia-lockfile.json b/website/algolia-lockfile.json
index 802afac..05f4d98 100644
--- a/website/algolia-lockfile.json
+++ b/website/algolia-lockfile.json
@@ -72,7 +72,7 @@
"anchor": "examples"
}
],
- "content": "5d4cca1d7d43f0035cfd8e97b7621806",
+ "content": "3f2010b9337e2dba13844da178eeceac",
"url": "https://www.the-guild.dev/graphql/config/docs/",
"domain": "https://www.the-guild.dev/graphql/config",
"hierarchy": [
Description
A second approach to adding ESM support. The previous one included using
tsc
and custom caching and this caching bit had a bunch of edge cases that I wasn't aware of in the beginning.I replaced it with
jiti
loader and added more test cases.jiti
is much faster than runningtsc
(similar time to cosmic loader).Related to issues in graphql-code-generator: https://github.com/dotansimha/graphql-code-generator/issues/8509 and https://github.com/dotansimha/graphql-code-generator/issues/8862. More context in this PR: https://github.com/dotansimha/graphql-code-generator/pull/9086.
Type of change
How Has This Been Tested?
Extended existing tests.
Test Environment:
Checklist:
Further comments
If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution you did and what alternatives you considered, etc...