20 lines
398 B
JavaScript
20 lines
398 B
JavaScript
import adapter from '@sveltejs/adapter-static';
|
|
|
|
/** @type {import('@sveltejs/kit').Config} */
|
|
const config = {
|
|
kit: {
|
|
adapter: adapter({
|
|
pages: 'build',
|
|
assets: 'build',
|
|
fallback: 'index.html',
|
|
}),
|
|
},
|
|
vitePlugin: {
|
|
onwarn: (warning, handler) => {
|
|
if (warning.code.startsWith('a11y-')) return;
|
|
handler(warning);
|
|
},
|
|
},
|
|
};
|
|
|
|
export default config; |