From 3303d56e467fb783da1811f723a9d94b8ce62c3a Mon Sep 17 00:00:00 2001 From: Zaiste Date: Thu, 26 May 2022 22:50:51 +0200 Subject: [PATCH] Fix the path for `printer` from `graphql` --- src/index.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 8249199..a274847 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,6 +1,7 @@ import path from 'path'; import fg from 'fast-glob'; -import { print } from "graphql/language/printer"; + +import { print } from "graphql/language/printer.js"; export const capitalize = (value: string) => value.charAt(0).toUpperCase() + value.slice(1); export const dropFileExtension = (filename: string) => path.parse(filename).name;