Skip to content

Self-hosted personal gallery application with online photo management and albums, supporting Live/Motion Photos, EXIF parsing, geolocation recognition, and an explore map.

chore: add `zod` to vite optimizeDeps

HoshinoSuzumicc829bf01ced
diff --git a/nuxt.config.ts b/nuxt.config.ts
index 78fb64a4..48125b7e 100644
--- a/nuxt.config.ts
+++ b/nuxt.config.ts
@@ -52,7 +52,7 @@ export default defineNuxtConfig({
oauth: {
github: {
enabled: false,
- }
+ },
},
},
mapbox: {
@@ -68,7 +68,7 @@ export default defineNuxtConfig({
secretAccessKey: '',
prefix: '',
cdnUrl: '',
- }
+ },
},
ALLOW_INSECURE_COOKIE: false,
},
@@ -85,6 +85,7 @@ export default defineNuxtConfig({
plugins: [tailwindcss() as any],
optimizeDeps: {
include: [
+ 'zod',
'dayjs',
'dayjs/plugin/updateLocale',
'dayjs/locale/zh-cn',
@@ -181,4 +182,4 @@ export default defineNuxtConfig({
{ code: 'ja', name: '日本語', file: 'ja.json', language: 'ja' },
],
},
-})
\ No newline at end of file
+})