verschoben von innohub/k3s repo

This commit is contained in:
titver968
2025-03-25 12:44:24 +01:00
parent 18910fe4c7
commit 23e8f80eeb
82 changed files with 3970 additions and 0 deletions

22
svelte.config.js Normal file
View File

@@ -0,0 +1,22 @@
import adapter from '@sveltejs/adapter-node';
import { vitePreprocess } from '@sveltejs/kit/vite';
/** @type {import('@sveltejs/kit').Config} */
const config = {
kit: {
// adapter-auto only supports some environments, see https://kit.svelte.dev/docs/adapter-auto for a list.
// If your environment is not supported or you settled on a specific environment, switch out the adapter.
// See https://kit.svelte.dev/docs/adapters for more information about adapters.
adapter: adapter()
},
preprocess: vitePreprocess(),
onwarn: (warning, defaultHandler) => {
// don't warn on <marquee> elements, cos they're cool
if (warning.code.startsWith('a11y-')) return;
// handle all other warnings normally
defaultHandler(warning);
}
};
export default config;