website/svelte.config.js

30 lines
614 B
JavaScript
Raw Normal View History

2023-06-04 22:25:15 +00:00
import preprocess from "svelte-preprocess";
2024-03-14 10:52:21 +00:00
import adapter from '@sveltejs/adapter-static';
2023-06-04 22:25:15 +00:00
/** @type {import('@sveltejs/kit').Config} */
const config = {
kit: {
2024-03-14 10:52:21 +00:00
adapter: adapter({
// default options are shown. On some platforms
// these options are set automatically — see below
pages: 'build',
assets: 'build',
fallback: undefined,
precompress: false,
strict: true
2024-06-12 08:12:23 +00:00
}),
prerender: {
handleMissingId: 'warn'
},
2023-06-04 22:25:15 +00:00
},
preprocess: [
preprocess({
scss: {
prependData: '@use "src/variables.scss" as *;',
},
}),
],
};
2023-06-23 12:51:54 +00:00
export default config;