File size: 314 Bytes
0ad74ed
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
import { sveltekit } from "@sveltejs/kit/vite";
import { defineConfig } from "vite";
import { inject_component_loader } from "../build/out/index.js";

//@ts-ignore
export default defineConfig(({ mode }) => ({
	plugins: [sveltekit(), inject_component_loader({ mode })],
	resolve: {
		conditions: ["gradio"]
	}
}));