Make SvelteKit build reproducible

This commit is contained in:
Markus Unterwaditzer
2025-06-20 11:58:36 +02:00
committed by Cooper Quintin
parent a17e255148
commit e52d382514

View File

@@ -10,6 +10,11 @@ export default {
fallback: undefined, fallback: undefined,
precompress: false, precompress: false,
strict: true 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'
}
} }
}; };