-
-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathnuxt.config.ts
47 lines (46 loc) · 975 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
43
44
45
46
47
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-shiki'],
extends: ['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',
],
},
appConfig: {
umami: {
version: 2,
autoTrack: false,
ignoreLocalhost: true,
},
branch: process.env.VERCEL_GIT_COMMIT_REF,
},
shiki: {
bundledLangs: ['javascript'],
bundledThemes: ['vitesse-dark', 'vitesse-light'],
},
})