mirror of
https://github.com/hexolan/stocklet.git
synced 2026-03-26 19:51:17 +00:00
feat: base frontend deployment
This commit is contained in:
@@ -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: ''
|
||||
})
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user