14 lines
359 B
TypeScript
14 lines
359 B
TypeScript
import { defineConfig } from "vite";
|
|
import preact from "@preact/preset-vite";
|
|
import tailwindcss from "@tailwindcss/vite";
|
|
|
|
export default defineConfig({
|
|
plugins: [preact(), tailwindcss()],
|
|
server: {
|
|
proxy: {
|
|
// Connect RPC calls in dev go straight to the Go server.
|
|
"/homelab.v1.HomelabService": "http://localhost:8080",
|
|
},
|
|
},
|
|
});
|