25 lines
451 B
JavaScript
25 lines
451 B
JavaScript
import preprocess from 'svelte-preprocess';
|
|
import adapter from '@sveltejs/adapter-static';
|
|
import { vitePreprocess } from '@sveltejs/kit/vite';
|
|
|
|
/** @type {import('@sveltejs/kit').Config} */
|
|
const config = {
|
|
preprocess: [
|
|
vitePreprocess(),
|
|
preprocess({
|
|
postcss: true,
|
|
}),
|
|
],
|
|
kit: {
|
|
adapter: adapter({
|
|
pages: 'build',
|
|
assets: 'build',
|
|
fallback: null,
|
|
precompress: false,
|
|
strict: true,
|
|
}),
|
|
},
|
|
};
|
|
|
|
export default config;
|