feat: base frontend deployment

This commit is contained in:
2025-08-07 21:38:45 +01:00
parent 859e075407
commit 828332a786
4 changed files with 197 additions and 8 deletions

View File

@@ -1,4 +1,4 @@
import adapter from '@sveltejs/adapter-static';
import adapter from '@sveltejs/adapter-node';
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
/** @type {import('@sveltejs/kit').Config} */
@@ -9,12 +9,18 @@ const config = {
kit: {
// Use static adapter for Docker deployment
// adapter: adapter({
// pages: 'build',
// assets: 'build',
// fallback: 'index.html',
// precompress: false,
// strict: false
// })
adapter: adapter({
pages: 'build',
assets: 'build',
fallback: 'index.html',
out: 'build',
precompress: false,
strict: false
envPrefix: ''
})
}
};