Work on the new Hub to manage the header, footer, menu, quick access, etc
This commit is contained in:
@@ -1,15 +1,19 @@
|
||||
|
||||
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte'
|
||||
// import adapter from '@sveltejs/adapter-static';
|
||||
// import adapter from '@sveltejs/adapter-node';
|
||||
|
||||
export default {
|
||||
|
||||
const config = {
|
||||
// Consult https://svelte.dev/docs#compile-time-svelte-preprocess
|
||||
// for more information about preprocessors
|
||||
preprocess: vitePreprocess(),
|
||||
|
||||
// Disable accessibility warnings
|
||||
onwarn: (warning, handler) => {
|
||||
console.log('HERE');
|
||||
if (warning.code.includes("a11y")) return;
|
||||
// if (warning.code === 'a11y-distracting-elements') return;
|
||||
handler(warning);
|
||||
},
|
||||
|
||||
@@ -35,3 +39,29 @@ export default {
|
||||
// })
|
||||
// }
|
||||
}
|
||||
export default config;
|
||||
|
||||
|
||||
|
||||
// import adapter from '@sveltejs/adapter-auto';
|
||||
|
||||
// /** @type {import('@sveltejs/kit').Config} */
|
||||
// const config = {
|
||||
// // Consult https://svelte.dev/docs#compile-time-svelte-preprocess
|
||||
// // for more information about preprocessors
|
||||
// preprocess: vitePreprocess(),
|
||||
|
||||
// // Disable accessibility warnings
|
||||
// onwarn: (warning, handler) => {
|
||||
// console.log('HERE');
|
||||
// if (warning.code.includes("a11y")) return;
|
||||
// handler(warning);
|
||||
// },
|
||||
|
||||
// kit: {
|
||||
// adapter: adapter()
|
||||
// }
|
||||
// };
|
||||
|
||||
// export default config;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user