14 lines
334 B
TypeScript
14 lines
334 B
TypeScript
import { sveltekit } from '@sveltejs/kit/vite';
|
|
import { defineConfig } from 'vitest/config';
|
|
import { threlteStudio } from '@threlte/studio/vite';
|
|
|
|
export default defineConfig({
|
|
plugins: [threlteStudio(), sveltekit()],
|
|
ssr: {
|
|
noExternal: ['three', 'three-inspect']
|
|
},
|
|
test: {
|
|
include: ['src/**/*.{test,spec}.{js,ts}']
|
|
}
|
|
});
|