Completely remove nuxtimage

This commit is contained in:
Julien Nahum 2024-03-20 19:16:17 +01:00
parent e7c7776bb1
commit 06214ebfbf
3 changed files with 2565 additions and 2845 deletions

View File

@ -13,7 +13,6 @@ export default defineNuxtConfig({
'@vueuse/motion/nuxt',
'nuxt3-notifications',
'nuxt-simple-sitemap',
'@nuxt/image',
... process.env.NUXT_PUBLIC_GOOGLE_ANALYTICS_CODE ? ['nuxt-gtag'] : [],
],
build: {
@ -53,17 +52,6 @@ export default defineNuxtConfig({
},
'~/components',
],
nitro: {
awsAmplify: {
imageOptimization: {
cacheControl: "public, max-age=600, immutable" // 10 minutes
},
imageSettings: {
formats: ['image/webp'],
dangerouslyAllowSVG: true,
}
}
},
sourcemap: true,
vite: {
plugins: [

5397
client/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -24,7 +24,6 @@
"dependencies": {
"@codemirror/lang-html": "^6.4.7",
"@hcaptcha/vue3-hcaptcha": "^1.3.0",
"@nuxt/image": "^1.1.0",
"@pinia/nuxt": "^0.5.1",
"@sentry/vite-plugin": "^2.10.2",
"@sentry/vue": "^7.93.0",