2025-01-25 15:25:28 +02:00
|
|
|
import { paraglide } from '@inlang/paraglide-sveltekit/vite';
|
|
|
|
import { defineConfig } from 'vitest/config';
|
|
|
|
import { sveltekit } from '@sveltejs/kit/vite';
|
|
|
|
|
|
|
|
export default defineConfig({
|
|
|
|
plugins: [
|
|
|
|
sveltekit(),
|
|
|
|
paraglide({
|
|
|
|
project: './project.inlang',
|
|
|
|
outdir: './src/lib/paraglide'
|
2025-01-25 16:04:15 +02:00
|
|
|
}),
|
2025-01-25 15:25:28 +02:00
|
|
|
],
|
|
|
|
|
|
|
|
test: {
|
|
|
|
include: ['src/**/*.{test,spec}.{js,ts}']
|
2025-01-25 16:04:15 +02:00
|
|
|
},
|
|
|
|
|
|
|
|
css: {
|
|
|
|
preprocessorOptions: {
|
|
|
|
scss: {
|
|
|
|
api: 'modern-compiler',
|
|
|
|
}
|
|
|
|
}
|
2025-01-25 15:25:28 +02:00
|
|
|
}
|
|
|
|
});
|