mirror of
https://github.com/hexolan/stocklet.git
synced 2026-03-26 19:51:17 +00:00
29 lines
624 B
JavaScript
29 lines
624 B
JavaScript
import adapter from '@sveltejs/adapter-node';
|
|
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
|
|
|
|
/** @type {import('@sveltejs/kit').Config} */
|
|
const config = {
|
|
// Consult https://svelte.dev/docs/kit/integrations
|
|
// for more information about preprocessors
|
|
preprocess: vitePreprocess(),
|
|
|
|
kit: {
|
|
// Use static adapter for Docker deployment
|
|
// adapter: adapter({
|
|
// pages: 'build',
|
|
// assets: 'build',
|
|
// fallback: 'index.html',
|
|
// precompress: false,
|
|
// strict: false
|
|
// })
|
|
|
|
adapter: adapter({
|
|
out: 'build',
|
|
precompress: false,
|
|
envPrefix: ''
|
|
})
|
|
}
|
|
};
|
|
|
|
export default config;
|