[READ-ONLY] Mirror of https://github.com/danielroe/desktop.
desktop.roe.dev
1// https://nuxt.com/docs/api/configuration/nuxt-config
2export default defineNuxtConfig({
3 modules: ['@unocss/nuxt', '@nuxt/eslint'],
4
5 $production: {
6 routeRules: {
7 '/api/**': { isr: 60 * 60, swr: 60 * 60 },
8 },
9 },
10
11 devtools: { enabled: true },
12
13 runtimeConfig: {
14 githubToken: '',
15 },
16
17 future: { compatibilityVersion: 4 },
18
19 compatibilityDate: '2024-10-25',
20
21 nitro: {
22 prerender: {
23 routes: ['/api/repos'],
24 },
25 },
26
27 eslint: {
28 config: {
29 stylistic: true,
30 },
31 },
32})