Skip to content

Commit 439a3a9

Browse files
authored
fix(ESM package): QueryComplexity import CJS module from GraphQL (#91)
1 parent 9cadc5a commit 439a3a9

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.mocharc.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"node-option": ["experimental-specifier-resolution=node"]
3+
}

src/QueryComplexity.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import {
88
getArgumentValues,
99
getDirectiveValues,
1010
getVariableValues,
11-
} from 'graphql/execution/values.js';
11+
} from 'graphql/execution/values';
1212

1313
import {
1414
ValidationContext,

0 commit comments

Comments
 (0)