Version the SvelteKit build by commit instead of build time so F-Droid can reproduce it
This commit is contained in:
parent
7fba70bf3d
commit
d00828c62f
1 changed files with 4 additions and 0 deletions
|
|
@ -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",
|
||||
}),
|
||||
|
|
|
|||
Loading…
Reference in a new issue