storybook/code/renderers/svelte/vitest.config.ts
2024-08-08 13:00:19 +02:00

15 lines
412 B
TypeScript

/* eslint-disable import/no-extraneous-dependencies */
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() })
),
],
})
);