Watch
1
0
Fork
You've already forked test-web
0
test-web/client/vite.config.ts
Chris Dill 0be1a55ded
All checks were successful
Build / build (push) Successful in 43s
Add client
2026-06-20 16:22:38 +01:00

15 lines
440 B
TypeScript

import adapter from '@sveltejs/adapter-static';
import { sveltekit } from '@sveltejs/kit/vite';
import { defineConfig } from 'vite';
export default defineConfig({
plugins: [
sveltekit({
compilerOptions: {
// Force runes mode for the project, except for libraries. Can be removed in svelte 6.
runes: ({ filename }) => filename.split(/[/\\]/).includes('node_modules') ? undefined : true
},
adapter: adapter()
})
]
});