mirror of
https://github.com/sveltejs/ai-tools.git
synced 2026-09-14 13:50:38 +08:00
23 lines
605 B
TypeScript
23 lines
605 B
TypeScript
import devtoolsJson from 'vite-plugin-devtools-json';
|
|
import { sveltekit } from '@sveltejs/kit/vite';
|
|
import { defineConfig } from 'vite';
|
|
|
|
export default defineConfig({
|
|
plugins: [sveltekit(), devtoolsJson()],
|
|
// we don't have tests yet so we just comment this out for now
|
|
// test: {
|
|
// expect: { requireAssertions: true },
|
|
// projects: [
|
|
// {
|
|
// extends: './vite.config.ts',
|
|
// test: {
|
|
// name: 'server',
|
|
// environment: 'node',
|
|
// include: ['src/**/*.{test,spec}.{js,ts}'],
|
|
// exclude: ['src/**/*.svelte.{test,spec}.{js,ts}'],
|
|
// },
|
|
// },
|
|
// ],
|
|
// },
|
|
});
|