gradio/js/_website/vite.config.ts
pngwn 483ecaae62
fix website build (#8559)
* fiux

* add changeset

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
2024-06-15 09:44:57 +00:00

8 lines
259 B
TypeScript

import { sveltekit } from "@sveltejs/kit/vite";
import { defineConfig } from "vite";
import { inject_component_loader } from "../app/build_plugins";
export default defineConfig(({ mode }) => ({
plugins: [sveltekit(), inject_component_loader({ mode })]
}));