chore: update nuxt to 3.10.3 (#2610)

This commit is contained in:
Joaquín Sánchez 2024-02-24 17:46:14 +01:00 committed by GitHub
parent 1fefb6e5b6
commit 55037f04cd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
53 changed files with 3584 additions and 3766 deletions

View file

@ -1,9 +1,9 @@
import { createResolver, useNuxt } from '@nuxt/kit'
import { isCI, isDevelopment, isWindows } from 'std-env'
import { isPreview } from './config/env'
import { i18n } from './config/i18n'
import { pwa } from './config/pwa'
import type { BuildInfo } from './types'
import { currentLocales } from './config/i18n'
const { resolve } = createResolver(import.meta.url)
@ -34,7 +34,6 @@ export default defineNuxtConfig({
'stale-dep/nuxt',
],
vue: {
defineModel: true,
propsDestructure: true,
},
macros: {
@ -46,9 +45,11 @@ export default defineNuxtConfig({
devtools: {
enabled: true,
},
features: {
inlineStyles: false,
},
experimental: {
payloadExtraction: false,
inlineSSRStyles: false,
renderJsonPayloads: true,
},
css: [
@ -277,7 +278,15 @@ export default defineNuxtConfig({
rateLimiter: false,
},
colorMode: { classSuffix: '' },
i18n,
i18n: {
locales: currentLocales,
lazy: true,
strategy: 'no_prefix',
detectBrowserLanguage: false,
langDir: 'locales',
defaultLocale: 'en-US',
vueI18n: './config/i18n.config.ts',
},
pwa,
staleDep: {
packageManager: 'pnpm',