-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnuxt.config.ts
More file actions
69 lines (69 loc) · 1.84 KB
/
Copy pathnuxt.config.ts
File metadata and controls
69 lines (69 loc) · 1.84 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
compatibilityDate: '2025-07-15',
devtools: { enabled: true },
modules: ['@nuxt/ui'],
css: ['~/assets/css/main.css'],
runtimeConfig: {
public: {
iubendaSiteId: '',
iubendaCookiePolicyId: '',
iubendaLang: 'de',
iubendaRecaptchaPurposeIds: '',
iubendaPrivacyPolicyUrl: '',
/**
* Public HTTPS origin without path (delegated OAuth / MAS redirects).
* Example: https://YOUR-NGROK.app — required for matrix.org OAuth.
*/
siteUrl: '',
matrixOidcClientId: '',
/**
* Optional remote debug log sink. When unset, Decentra only logs to the
* browser console. When set, Decentra will POST NDJSON-ish payloads.
*
* Example: http://127.0.0.1:7476/ingest/<id> (local), or your Graylog.
*/
debugLogIngestUrl: '',
/**
* Optional session id for remote log sink. Only sent when both this and
* `debugLogSessionHeader` are configured.
*/
debugLogSessionId: '',
/**
* Optional header name for session id, e.g. X-Debug-Session-Id.
*/
debugLogSessionHeader: ''
}
},
app: {
head: {
title: 'Decentra',
link: [
{ rel: 'icon', type: 'image/svg+xml', href: '/favicon.svg' }
]
}
},
vite: {
optimizeDeps: {
exclude: ['@matrix-org/matrix-sdk-crypto-wasm']
},
build: {
rollupOptions: {
output: {
manualChunks(id) {
if (id.includes('@matrix-org/matrix-sdk-crypto-wasm')) {
return 'matrix-crypto-wasm'
}
if (id.includes('matrix-js-sdk')) {
return 'matrix-js-sdk'
}
}
}
}
}
},
colorMode: {
preference: 'dark',
fallback: 'dark'
}
})