storybook/code/renderers/svelte/vitest.config.ts
2024-08-14 15:20:02 +02:00

14 lines
357 B
TypeScript

import { defineConfig, mergeConfig } from 'vitest/config';
import { vitestCommonConfig } from '../../vitest.workspace';
export default defineConfig(
mergeConfig(vitestCommonConfig, {
plugins: [
import('@sveltejs/vite-plugin-svelte').then(({ svelte, vitePreprocess }) =>
svelte({ preprocess: vitePreprocess() })
),
],
})
);