-
-
Notifications
You must be signed in to change notification settings - Fork 20
/
nuxt.config.ts
42 lines (41 loc) · 853 Bytes
/
nuxt.config.ts
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
import process from 'node:process'
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
modules: ['@unocss/nuxt', '@vueuse/nuxt', 'nuxt-monaco-editor', 'nuxt-umami'],
vite: {
esbuild: {
legalComments: 'external',
},
resolve: {
alias: {
path: 'pathe',
},
},
},
devtools: {
enabled: true,
},
css: [
'@unocss/reset/tailwind.css',
'floating-vue/dist/style.css',
'~/styles/vars.css',
'~/styles/global.css',
'~/styles/dropdown.css',
],
imports: {
dirs: [
'./composables',
'./composables/state',
'./composables/parser',
'./utils',
],
},
umami: {
autoTrack: false,
ignoreLocalhost: true,
},
appConfig: {
branch: process.env.VERCEL_GIT_COMMIT_REF,
},
compatibilityDate: '2024-10-10',
})