We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 29a957f commit 557d7d9Copy full SHA for 557d7d9
vite.config.mjs
@@ -8,6 +8,7 @@ import path from 'path'
8
import {nodePolyfills} from 'vite-plugin-node-polyfills';
9
import compress from 'vite-plugin-compress'
10
11
+const jsonToGraphQLQuery = require('json-to-graphql-query')
12
dns.setDefaultResultOrder("verbatim");
13
14
const __filename = fileURLToPath(import.meta.url)
@@ -68,12 +69,12 @@ export default defineConfig({
68
69
output: {
70
dir: "dist",
71
format: "es",
- globals: {
72
- jsonToGraphQLQuery: 'json-to-graphql-query',
73
- },
+ // globals: {
+ // jsonToGraphQLQuery: 'json-to-graphql-query',
74
+ // },
75
},
76
external: [
- "jsonToGraphQLQuery",
77
+ jsonToGraphQLQuery,
78
],
79
}
80
0 commit comments