diff --git a/packages/graphql-language-service-server/src/parseDocument.ts b/packages/graphql-language-service-server/src/parseDocument.ts index 7190119c354..3eb12d9a3f9 100644 --- a/packages/graphql-language-service-server/src/parseDocument.ts +++ b/packages/graphql-language-service-server/src/parseDocument.ts @@ -6,7 +6,11 @@ import { findGraphQLTags, DEFAULT_TAGS } from './findGraphQLTags'; export const DEFAULT_SUPPORTED_EXTENSIONS = ['.js', '.ts', '.jsx', '.tsx']; -export const DEFAULT_SUPPORTED_GRAPHQL_EXTENSIONS = ['.graphql']; +export const DEFAULT_SUPPORTED_GRAPHQL_EXTENSIONS = [ + '.graphql', + '.graphqls', + '.gql', +]; /** * Helper functions to perform requested services from client/server.