deprived-main-website/svelte.config.js

20 lines
419 B
JavaScript
Raw Normal View History

import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
2024-02-19 19:55:13 +01:00
import adapter from '@sveltejs/adapter-static';
2024-02-14 23:30:25 +01:00
/** @type {import('@sveltejs/kit').Config} */
2024-02-19 19:55:13 +01:00
export default {
preprocess: vitePreprocess(),
2024-02-14 23:30:25 +01:00
kit: {
2024-02-19 19:55:13 +01:00
prerender: {
handleHttpError: 'fail'
},
adapter: adapter({
pages: 'build',
assets: 'build',
fallback: undefined,
precompress: false,
strict: true
})
2024-02-14 23:30:25 +01:00
}
};