Files
ComfyBox/vite.config.ts
space-nuko 1ad77f49ef blah
2023-04-07 01:05:02 -05:00

26 lines
591 B
TypeScript

import { sveltekit } from '@sveltejs/kit/vite';
import { defineConfig } from 'vitest/config';
import tsconfigPaths from 'vite-tsconfig-paths';
import FullReload from 'vite-plugin-full-reload';
export default defineConfig({
clearScreen: false,
plugins: [
tsconfigPaths({loose: true}),
sveltekit(),
FullReload(["src/**/*.{js,ts,svelte}"])
],
build: {
sourcemap: true,
},
server: {
port: 3000,
fs: {
allow: ["./gradio"]
}
},
test: {
include: ['src/**/*.{test,spec}.{js,ts}']
}
});