Changes to web configs

This commit is contained in:
Markus Unterwaditzer
2025-06-28 21:05:17 +02:00
committed by Will Greenberg
parent 0be2b02349
commit 41133ba793
9 changed files with 141 additions and 126 deletions

View File

@@ -1,20 +1,20 @@
import adapter from '@sveltejs/adapter-static';
export default {
kit: {
adapter: adapter({
// default options are shown. On some platforms
// these options are set automatically — see below
pages: 'build',
assets: 'build',
fallback: undefined,
precompress: false,
strict: true
}),
version: {
kit: {
adapter: adapter({
// default options are shown. On some platforms
// these options are set automatically — see below
pages: 'build',
assets: 'build',
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'
}
}
name: process.env.GITHUB_SHA || 'dev'
}
}
};