Add required options for static build

This commit is contained in:
2026-03-15 20:07:37 +00:00
parent 6152afda3b
commit 50e56159b7
2 changed files with 14 additions and 1 deletions

View File

@@ -1,6 +1,16 @@
import adapter from '@sveltejs/adapter-static';
/** @type {import('@sveltejs/kit').Config} */
const config = { kit: { adapter: adapter() } };
const config = {
kit: {
adapter: adapter({
pages: 'build',
assets: 'build',
fallback: 'index.html',
precompress: 'true',
strict: 'true'
})
}
};
export default config;