25 řádky
495 B
JavaScript
25 řádky
495 B
JavaScript
|
import adapter from '@sveltejs/adapter-static';
|
||
|
import preprocess from "svelte-preprocess";
|
||
|
|
||
|
/** @type {import('@sveltejs/kit').Config} */
|
||
|
const config = {
|
||
|
kit: {
|
||
|
adapter: adapter({
|
||
|
// default options are shown. On some platforms
|
||
|
// these options are set automatically — see below
|
||
|
pages: 'build',
|
||
|
assets: 'build',
|
||
|
fallback: null,
|
||
|
precompress: false
|
||
|
}),
|
||
|
trailingSlash: 'always',
|
||
|
},
|
||
|
preprocess: [
|
||
|
preprocess({
|
||
|
postcss: true,
|
||
|
}),
|
||
|
],
|
||
|
};
|
||
|
|
||
|
export default config;
|