Fix the path for printer
from graphql
This commit is contained in:
parent
bbe8021be6
commit
3303d56e46
1 changed files with 2 additions and 1 deletions
|
@ -1,6 +1,7 @@
|
||||||
import path from 'path';
|
import path from 'path';
|
||||||
import fg from 'fast-glob';
|
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 capitalize = (value: string) => value.charAt(0).toUpperCase() + value.slice(1);
|
||||||
export const dropFileExtension = (filename: string) => path.parse(filename).name;
|
export const dropFileExtension = (filename: string) => path.parse(filename).name;
|
||||||
|
|
Loading…
Reference in a new issue