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