We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 455978d commit 93d6520Copy full SHA for 93d6520
fix-hybrid-module.sh
@@ -4,8 +4,12 @@ cat >dist/cjs/package.json <<!EOF
4
}
5
!EOF
6
7
+sed -i '' "s/require(\"graphql\/execution\/values\")/require(\"graphql\/execution\/values.js\")/" "dist/cjs/QueryComplexity.js"
8
+
9
cat >dist/esm/package.json <<!EOF
10
{
11
"type": "module"
12
13
14
15
+sed -i '' "s/from 'graphql\/execution\/values';/from 'graphql\/execution\/values.mjs';/" "dist/esm/QueryComplexity.js"
0 commit comments