Create testing specific vite config, add multi font support, bugfixes
This commit is contained in:
parent
48e585d4ec
commit
0041ec3d9a
12 changed files with 73 additions and 17 deletions
18
vite.config.test.ts
Normal file
18
vite.config.test.ts
Normal file
|
@ -0,0 +1,18 @@
|
|||
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}']
|
||||
}
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue