20 lines
419 B
JavaScript
20 lines
419 B
JavaScript
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
|
|
import adapter from '@sveltejs/adapter-static';
|
|
|
|
/** @type {import('@sveltejs/kit').Config} */
|
|
export default {
|
|
preprocess: vitePreprocess(),
|
|
kit: {
|
|
prerender: {
|
|
handleHttpError: 'fail'
|
|
},
|
|
adapter: adapter({
|
|
pages: 'build',
|
|
assets: 'build',
|
|
fallback: undefined,
|
|
precompress: false,
|
|
strict: true
|
|
})
|
|
}
|
|
};
|