-
Notifications
You must be signed in to change notification settings - Fork 2
/
nuxt.config.js
49 lines (43 loc) · 976 Bytes
/
nuxt.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
export default defineNuxtConfig({
runtimeConfig: {
public: {
API_URL: "api.geode-solutions.com",
SITE_BRANCH:
process.env.NODE_ENV === "production" ? process.env.SITE_BRANCH : "",
PROJECT: process.env.NODE_ENV === "production" ? process.env.PROJECT : "",
NODE_ENV: process.env.NODE_ENV,
},
},
modules: [
["@pinia/nuxt", { autoImports: ["defineStore", "storeToRefs"] }],
"@vueuse/nuxt",
],
imports: {
dirs: ["stores"],
},
// ** Global CSS
css: ["vuetify/lib/styles/main.sass"],
// ** Build configuration
build: {
transpile: ["vuetify"],
},
vue: {
compilerOptions: {
isCustomElement: (tag) => ["md-linedivider"].includes(tag),
},
},
testUtils: {},
vite: {
optimizeDeps: {
include: [
"ajv",
"fast-deep-equal",
"globalthis",
"is-electron",
"js-file-download",
"lodash",
"seedrandom",
],
},
},
})