a7e205e489
Package prettier with Svelte support and add it to treefmt-nix to format the dashboard. This change is brutal, I spent a long time trying to get it nicer but it doesn't seem there's a good way to make this minimal. Sorry for the noise! This will make it easier for new contributors to get the formatting right first time. Also removes the `.prettierrc` because it turns out treefmt-nix was ignoring it. Test plan: - CI
16 lines
412 B
TypeScript
16 lines
412 B
TypeScript
import tailwindcss from "@tailwindcss/vite";
|
|
import { sveltekit } from "@sveltejs/kit/vite";
|
|
import { defineConfig } from "vite";
|
|
|
|
export default defineConfig({
|
|
plugins: [tailwindcss(), sveltekit()],
|
|
server: {
|
|
proxy: {
|
|
"/v1": "http://localhost:52415",
|
|
"/state": "http://localhost:52415",
|
|
"/models": "http://localhost:52415",
|
|
"/instance": "http://localhost:52415",
|
|
},
|
|
},
|
|
});
|