immich/web/svelte.config.js

19 lines
385 B
JavaScript
Raw Normal View History

import adapter from '@sveltejs/adapter-node';
import preprocess from 'svelte-preprocess';
2022-09-08 15:30:49 +00:00
/** @type {import('@sveltejs/kit').Config} */
const config = {
preprocess: preprocess(),
onwarn: (warning, handler) => {
if (warning.code.includes('a11y')) {
return;
}
handler(warning);
},
kit: {
adapter: adapter({ out: 'build' }),
},
};
export default config;