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 },
18 typescript: {
19 nodeTsConfig: {
20 include: ['../vite.config.ts'],
21 },
22 },
23 app: {
24 head: {
25 htmlAttrs: { lang: 'en' },
26 },
27 },
28 future: {
29 compatibilityVersion: 4,
30 },
31 experimental: {
32 typedPages: true,
33 },
34 compatibilityDate: '2024-04-03',
35 // Ensure that any HTML validation errors are treated as build errors
36 htmlValidator: {
37 failOnError: true,
38 },
39})