svelte 5 mit npm

This commit is contained in:
titver968
2025-04-11 11:31:10 +02:00
parent 104e86136b
commit 38f8b7c1a9
82 changed files with 10708 additions and 0 deletions

17
vite.config.js Normal file
View File

@@ -0,0 +1,17 @@
import { sveltekit } from '@sveltejs/kit/vite';
import { defineConfig } from 'vitest/config';
export default defineConfig({
plugins: [sveltekit()],
server: {
cors: {
origin: ['https://tatort.innovation-hub-niedersachsen.de', 'http://localhost:4173'],
methods: ['GET', 'POST'],
allowedHeaders: ['Content-Type']
},
allowedHosts: ['tatort.innovation-hub-niedersachsen.de']
},
test: {
include: ['src/**/*.{test,spec}.{js,ts}']
}
});