26 řádky
520 B
JavaScript
26 řádky
520 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: true
|
|
}),
|
|
trailingSlash: 'always',
|
|
},
|
|
extensions: ['.svelte'],
|
|
preprocess: [
|
|
preprocess({
|
|
postcss: true,
|
|
}),
|
|
],
|
|
};
|
|
|
|
export default config;
|