docs(nuxt.config): lint

This commit is contained in:
Benjamin Canac
2024-10-24 14:50:45 +02:00
parent 2af0346654
commit 5d4a8ff713

View File

@@ -21,6 +21,13 @@ export default defineNuxtConfig({
'nuxt-og-image'
],
$production: {
routeRules: {
'/api/_mdc/highlight': { cache: { group: 'mdc', name: 'highlight', maxAge: 60 * 60 } },
'/api/_content/query/**': { cache: { group: 'content', name: 'query', maxAge: 60 * 60 } }
}
},
app: {
rootAttrs: {
'vaul-drawer-wrapper': '',
@@ -68,13 +75,6 @@ export default defineNuxtConfig({
'/components': { redirect: '/components/app', prerender: false }
},
$production: {
routeRules: {
'/api/_mdc/highlight': { cache: { group: 'mdc', name: 'highlight', maxAge: 60 * 60 } },
'/api/_content/query/**': { cache: { group: 'content', name: 'query', maxAge: 60 * 60 } }
}
},
future: {
compatibilityVersion: 4
},