Skip to content

Commit

Permalink
Don't fail GraphQL Codegen if there are no documents (#591)
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnyomair authored Dec 11, 2024
1 parent 4c02ce7 commit d2ed488
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions admin/codegen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ const config: CodegenConfig = {
],
},
},
ignoreNoDocuments: true,
};

export default config;
1 change: 1 addition & 0 deletions site/codegen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ const config: CodegenConfig = {
config: pluginConfig,
},
},
ignoreNoDocuments: true,
};

export default config;

0 comments on commit d2ed488

Please sign in to comment.