mirror your GitHub repos to tangled.org automatically
1// https://nuxt.com/docs/api/configuration/nuxt-config
2export default defineNuxtConfig({
3 modules: [
4 '@nuxtjs/html-validator',
5 '@nuxt/scripts',
6 '@nuxt/fonts',
7 '@nuxt/image',
8 'nuxt-og-image',
9 '@nuxt/test-utils',
10 ],
11 devtools: { enabled: true },
12 runtimeConfig: {
13 databaseUrl: '',
14 githubAppId: '',
15 githubAppPrivateKey: '',
16 githubWebhookSecret: '',
17 cronSecret: '',
18 workerBudgetMs: '',
19 },
20 typescript: {
21 nodeTsConfig: {
22 include: ['../vite.config.ts'],
23 },
24 },
25 app: {
26 head: {
27 htmlAttrs: { lang: 'en' },
28 },
29 },
30 future: {
31 compatibilityVersion: 4,
32 },
33 experimental: {
34 typedPages: true,
35 },
36 nitro: {
37 vercel: {
38 config: {
39 crons: [
40 {
41 path: '/api/jobs/run',
42 schedule: '* * * * *'
43 },
44 ]
45 },
46 }
47 },
48 compatibilityDate: '2024-04-03',
49 // Ensure that any HTML validation errors are treated as build errors
50 htmlValidator: {
51 failOnError: true,
52 },
53})