Skip to content

Commit bdf0e24

Browse files
committed
adding json-to-graphql-query in dev dependencies
1 parent c43128e commit bdf0e24

File tree

2 files changed

+3
-10
lines changed

2 files changed

+3
-10
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
"axios": "^1.3.1",
2626
"codacy-coverage": "^3.4.0",
2727
"dotenv": "^16.4.5",
28-
"json-to-graphql-query": "^2.3.0",
2928
"lodash": "^4.17.21",
3029
"pinia": "^3.0.1",
3130
"roboto-fontface": "*",
@@ -58,6 +57,7 @@
5857
"jsdoc": "^4.0.4",
5958
"jsdoc-vuejs": "^4.0.0",
6059
"jsdom": "^26.0.0",
60+
"json-to-graphql-query": "^2.3.0",
6161
"prettier": "3.4.2",
6262
"sass": "^1.77.8",
6363
"sinon": "^18.0.0",

vite.config.mjs

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,11 @@ 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 { builtinModules } from "module";
1110

1211
dns.setDefaultResultOrder("verbatim");
1312

1413
const __filename = fileURLToPath(import.meta.url);
1514
const __dirname = path.dirname(__filename);
16-
const allExternal = [
17-
...builtinModules,
18-
...builtinModules.map((m) => `node:${m}`)
19-
];
2015

2116
export default defineConfig({
2217
base: "./",
@@ -51,8 +46,7 @@ export default defineConfig({
5146
extensions: [".mjs", ".js", ".ts", ".jsx", ".tsx", ".json", ".vue", ".svg"]
5247
},
5348
optimizeDeps: {
54-
include: ["vuetify"],
55-
exclude: ["jsonToGraphQLQuery"]
49+
include: ["vuetify"]
5650
},
5751
css: {
5852
preprocessorOptions: {
@@ -74,8 +68,7 @@ export default defineConfig({
7468
output: {
7569
dir: "dist",
7670
format: "es"
77-
},
78-
exclude: ["jsonToGraphQLQuery", ...allExternal]
71+
}
7972
}
8073
}
8174
});

0 commit comments

Comments
 (0)