2021-08-16 16:27:09 +00:00
|
|
|
/** @type {import('@sveltejs/kit').Config} */
|
2022-04-30 15:25:11 +00:00
|
|
|
import preprocess from "svelte-preprocess";
|
|
|
|
import adapterStatic from '@sveltejs/adapter-static';
|
|
|
|
|
2021-08-16 16:27:09 +00:00
|
|
|
const config = {
|
|
|
|
kit: {
|
2022-04-30 15:25:11 +00:00
|
|
|
adapter: adapterStatic({
|
|
|
|
// default options are shown
|
|
|
|
pages: 'build',
|
|
|
|
assets: 'build',
|
|
|
|
fallback: null,
|
|
|
|
precompress: false
|
|
|
|
}),
|
2022-04-30 14:59:00 +00:00
|
|
|
prerender: {
|
2022-04-30 15:25:11 +00:00
|
|
|
// This can be false if you're using a fallback (i.e. SPA mode)
|
2022-04-30 14:59:00 +00:00
|
|
|
default: true
|
|
|
|
},
|
2021-08-16 16:27:09 +00:00
|
|
|
files: {
|
|
|
|
assets: 'static'
|
2022-04-30 15:25:11 +00:00
|
|
|
}
|
2021-08-16 16:27:09 +00:00
|
|
|
},
|
|
|
|
preprocess: [
|
|
|
|
preprocess({
|
|
|
|
postcss: true
|
|
|
|
})
|
2022-04-30 15:25:11 +00:00
|
|
|
],
|
2021-08-16 16:27:09 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
export default config;
|