webui/vite.config.test.ts
Djuri Baars 0041ec3d9a
All checks were successful
/ check-changes (push) Successful in 18s
/ build (push) Successful in 3m49s
Create testing specific vite config, add multi font support, bugfixes
2024-12-30 00:50:33 +01:00

18 lines
348 B
TypeScript

import { sveltekit } from '@sveltejs/kit/vite';
import { defineConfig } from 'vite';
export default defineConfig({
plugins: [sveltekit()],
build: {
sourcemap: true,
minify: false,
rollupOptions: {
output: {
manualChunks: undefined // Disable code splitting
}
}
},
test: {
include: ['tests/**/*.{test,spec}.{js,ts}']
}
});