2023-11-18 06:13:36 +02:00
|
|
|
import adapter from '@sveltejs/adapter-static';
|
2023-07-01 06:50:47 +02:00
|
|
|
import preprocess from 'svelte-preprocess';
|
2022-09-08 17:30:49 +02:00
|
|
|
|
2022-05-21 09:23:55 +02:00
|
|
|
/** @type {import('@sveltejs/kit').Config} */
|
|
|
|
const config = {
|
2023-07-01 06:50:47 +02:00
|
|
|
preprocess: preprocess(),
|
2023-07-16 03:13:04 +02:00
|
|
|
onwarn: (warning, handler) => {
|
|
|
|
if (warning.code.includes('a11y')) {
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
handler(warning);
|
|
|
|
},
|
2023-07-01 06:50:47 +02:00
|
|
|
kit: {
|
2023-11-18 06:13:36 +02:00
|
|
|
adapter: adapter({
|
|
|
|
// default options are shown. On some platforms
|
|
|
|
// these options are set automatically — see below
|
|
|
|
pages: 'build',
|
|
|
|
assets: 'build',
|
|
|
|
fallback: 'index.html',
|
|
|
|
precompress: false,
|
|
|
|
strict: true,
|
|
|
|
}),
|
2024-01-20 20:47:41 +02:00
|
|
|
alias: {
|
|
|
|
$lib: 'src/lib',
|
|
|
|
'$lib/*': 'src/lib/*',
|
|
|
|
'@api': 'src/api',
|
|
|
|
'@test-data': 'src/test-data',
|
|
|
|
},
|
2023-07-01 06:50:47 +02:00
|
|
|
},
|
2022-05-21 09:23:55 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
export default config;
|