Skip to content

Commit 6b2919d

Browse files
committed
updating path of json-to-graphql-query
1 parent bf2512c commit 6b2919d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

vite.config.mjs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import eslintPlugin from "vite-plugin-eslint";
77
import path from "path";
88
import { nodePolyfills } from "vite-plugin-node-polyfills";
99
import compress from "vite-plugin-compress";
10+
// import { jsonToGraphQLQuery } from "./node_modules/json-to-graphql-query";
1011

1112
dns.setDefaultResultOrder("verbatim");
1213

@@ -65,7 +66,7 @@ export default defineConfig({
6566
chunkSizeWarningLimit: 1250,
6667
commonjsOptions: { transformMixedEsModules: true },
6768
rollupOptions: {
68-
external: ["json-to-graphql-query"],
69+
external: ["./node_modules/json-to-graphql-query"],
6970
input: path.resolve(__dirname, "index.html"),
7071
output: {
7172
dir: "dist",

0 commit comments

Comments
 (0)