Skip to content

Commit 270af37

Browse files
committed
adding jsonToGraphQLQuery
1 parent 5b66858 commit 270af37

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

vite.config.mjs

Lines changed: 7 additions & 3 deletions
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 "json-to-graphql-query";
1011

1112
dns.setDefaultResultOrder("verbatim");
1213

@@ -41,13 +42,13 @@ export default defineConfig({
4142
resolve: {
4243
alias: {
4344
"@": fileURLToPath(new URL("./src", import.meta.url)),
44-
"source-map-js": "source-map",
45-
"jsonToGraphQLQuery": "json-to-graphql-query"
45+
"source-map-js": "source-map"
4646
},
4747
extensions: [".mjs", ".js", ".ts", ".jsx", ".tsx", ".json", ".vue", ".svg"]
4848
},
4949
optimizeDeps: {
50-
include: ["vuetify"]
50+
include: ["vuetify"],
51+
exclude: ["jsonToGraphQLQuery"]
5152
},
5253
css: {
5354
preprocessorOptions: {
@@ -70,6 +71,9 @@ export default defineConfig({
7071
dir: "dist",
7172
format: "es"
7273
}
74+
},
75+
optimizeDeps: {
76+
exclude: ["jsonToGraphQLQuery"]
7377
}
7478
}
7579
});

0 commit comments

Comments
 (0)