aboutsummaryrefslogtreecommitdiffstats
path: root/webui/codegen.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'webui/codegen.yaml')
-rw-r--r--webui/codegen.yaml4
1 files changed, 3 insertions, 1 deletions
diff --git a/webui/codegen.yaml b/webui/codegen.yaml
index 1c2a91a8..3724901e 100644
--- a/webui/codegen.yaml
+++ b/webui/codegen.yaml
@@ -7,6 +7,7 @@ generates:
- fragment-matcher
config:
module: es2015
+ apolloClientVersion: 3
./src/gqlTypes.ts:
plugins:
- typescript
@@ -15,7 +16,8 @@ generates:
- introspection
./src/:
plugins:
- - add: '/* eslint-disable @typescript-eslint/no-unused-vars, import/order */'
+ - add:
+ content: '/* eslint-disable @typescript-eslint/no-unused-vars, import/order */'
- typescript-operations
- typescript-react-apollo
preset: near-operation-file