mirror your GitHub repos to tangled.org automatically
1// https://nuxt.com/docs/api/configuration/nuxt-config
2export default defineNuxtConfig({
3 modules: [
4 '@nuxt/eslint',
5 '@nuxtjs/html-validator',
6 '@nuxt/scripts',
7 '@nuxt/fonts',
8 '@nuxt/image',
9 'nuxt-og-image',
10 '@nuxt/test-utils',
11 ],
12 devtools: { enabled: true },
13 app: {
14 head: {
15 htmlAttrs: { lang: 'en' },
16 },
17 },
18 future: {
19 compatibilityVersion: 4,
20 },
21 experimental: {
22 typedPages: true,
23 },
24 compatibilityDate: '2024-04-03',
25 eslint: {
26 config: {
27 stylistic: true,
28 },
29 },
30 // Ensure that any HTML validation errors are treated as build errors
31 htmlValidator: {
32 failOnError: true,
33 },
34})