From e52d382514f2b26c0a5ccb1c8d7ea4470fef8e81 Mon Sep 17 00:00:00 2001 From: Markus Unterwaditzer Date: Fri, 20 Jun 2025 11:58:36 +0200 Subject: [PATCH] Make SvelteKit build reproducible --- bin/web/svelte.config.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/bin/web/svelte.config.js b/bin/web/svelte.config.js index c7c635e..b2a4b0b 100644 --- a/bin/web/svelte.config.js +++ b/bin/web/svelte.config.js @@ -10,6 +10,11 @@ export default { fallback: undefined, precompress: false, strict: true - }) + }), + version: { + // Use a deterministic version string for reproducible builds. + // Without this option, SvelteKit will use a timestamp. + name: process.env.GITHUB_SHA || 'dev' + } } };