fix(web): use deterministic version name in svelte config (#29172)

This commit is contained in:
Rizwan 2026-06-17 22:12:26 +05:30 committed by GitHub
parent ad9817c582
commit 06c8d5a183
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -16,7 +16,7 @@ const config = {
preprocess: vitePreprocess(), preprocess: vitePreprocess(),
kit: { kit: {
version: { version: {
name: process.env.IMMICH_BUILD || Date.now().toString(), name: process.env.IMMICH_BUILD || process.env.npm_package_version || 'local',
}, },
paths: { paths: {
relative: false, relative: false,