2022-05-21 07:23:55 +00:00
|
|
|
import adapter from '@sveltejs/adapter-node';
|
2023-07-01 04:50:47 +00:00
|
|
|
import preprocess from 'svelte-preprocess';
|
2022-09-08 15:30:49 +00:00
|
|
|
|
2022-05-21 07:23:55 +00:00
|
|
|
/** @type {import('@sveltejs/kit').Config} */
|
|
|
|
const config = {
|
2023-07-01 04:50:47 +00:00
|
|
|
preprocess: preprocess(),
|
2023-07-16 01:13:04 +00:00
|
|
|
onwarn: (warning, handler) => {
|
|
|
|
if (warning.code.includes('a11y')) {
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
handler(warning);
|
|
|
|
},
|
2023-07-01 04:50:47 +00:00
|
|
|
kit: {
|
|
|
|
adapter: adapter({ out: 'build' }),
|
|
|
|
},
|
2022-05-21 07:23:55 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
export default config;
|