-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathnuxt.config.ts
More file actions
52 lines (51 loc) · 1.22 KB
/
nuxt.config.ts
File metadata and controls
52 lines (51 loc) · 1.22 KB
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
50
51
52
// SPDX-FileCopyrightText: 2025 The Wallet Test Verifier Web Authors
//
// SPDX-License-Identifier: EUPL-1.2
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
compatibilityDate: "2025-05-15",
devtools: { enabled: true },
devServer: { port: 3002 },
modules: ["@nuxtjs/tailwindcss", "nuxt-qrcode"],
vite: {
esbuild: {
drop:
process.env.NODE_ENV === "production" ? ["console", "debugger"] : [],
},
},
typescript: {
typeCheck: false,
},
runtimeConfig: {
public: {
hostApi: process.env.HOST_API || "https://localhost/refimpl-verifier-backend",
walletUrl: process.env.WALLET_URL || "openid4vp://",
},
},
qrcode: {
options: {
variant: {
inner: "circle",
marker: "rounded",
pixel: "rounded",
},
radius: 1,
blackColor: "currentColor",
whiteColor: "white",
},
},
nitro: {
port: 3002,
host: "0.0.0.0",
devProxy: {
"/ui/": {
target: "https://localhost/refimpl-verifier-backend/ui/",
changeOrigin: true,
},
"/wallet/": {
target: "https://localhost/refimpl-verifier-backend/wallet/",
changeOrigin: true,
},
},
},
});