Version the SvelteKit build by commit instead of build time so F-Droid can reproduce it

This commit is contained in:
Jon Staab 2026-09-25 11:00:59 -07:00
parent 7fba70bf3d
commit d00828c62f

View file

@ -19,6 +19,10 @@ export default {
serviceWorker: {
register: process.env.FLOTILLA_DESKTOP !== "1",
},
// The default is the build time, which changes every chunk hash and breaks F-Droid's reproducible build
version: {
name: process.env.VITE_BUILD_HASH,
},
adapter: adapter({
fallback: "index.html",
}),