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