Removed ALL errors
This commit is contained in:
parent
f64ae9f991
commit
379577cc5c
21 changed files with 379 additions and 713 deletions
|
@ -4,6 +4,14 @@ import adapter from '@sveltejs/adapter-static';
|
|||
/** @type {import('@sveltejs/kit').Config} */
|
||||
export default {
|
||||
preprocess: vitePreprocess(),
|
||||
onwarn: (warning, handler) => {
|
||||
if (warning.code.startsWith('a11y-')) return
|
||||
if (warning.code === 'missing-exports-condition') return
|
||||
if (warning.code === 'a11y-no-static-element-interactions') return
|
||||
if (warning.code === 'svelte-ignore a11y-autofocus') return
|
||||
if (warning.code.startsWith('css-unused-selector')) return
|
||||
handler(warning)
|
||||
},
|
||||
kit: {
|
||||
prerender: {
|
||||
handleHttpError: 'fail'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue