mirror of
https://github.com/koloml/furbooru-tagging-assistant.git
synced 2025-12-24 07:12:57 +00:00
22 lines
493 B
TypeScript
22 lines
493 B
TypeScript
import { sveltekit } from '@sveltejs/kit/vite';
|
|
import { defineConfig } from 'vitest/config';
|
|
|
|
export default defineConfig({
|
|
build: {
|
|
// SVGs imported from the FA6 don't need to be inlined!
|
|
assetsInlineLimit: 0
|
|
},
|
|
plugins: [
|
|
sveltekit(),
|
|
],
|
|
test: {
|
|
globals: true,
|
|
environment: 'jsdom',
|
|
exclude: ['**/node_modules/**', '.*\\.d\\.ts$', '.*\\.spec\\.ts$'],
|
|
coverage: {
|
|
reporter: ['text', 'html'],
|
|
include: ['src/lib/**/*.{js,ts}'],
|
|
}
|
|
}
|
|
});
|