1
0
mirror of https://git.btclock.dev/btclock/webui.git synced 2025-01-17 15:42:22 +01:00
btclock-webui/vite.config.test.ts
Djuri Baars 0041ec3d9a
Some checks are pending
BTClock WebUI CI / check-changes (push) Waiting to run
BTClock WebUI CI / build (push) Blocked by required conditions
Create testing specific vite config, add multi font support, bugfixes
2024-12-30 00:50:33 +01:00

19 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}']
}
});