mirror of
https://github.com/Dvorinka/beszel.git
synced 2026-06-03 13:02:55 +00:00
8011d487f1
- Add status pages, incidents, badges, maintenance, bulk ops, and metrics - Add Docker packaging, env example, and frontend routes - Refresh GitHub workflows and project metadata
33 lines
574 B
TypeScript
33 lines
574 B
TypeScript
import { defineConfig } from "vite"
|
|
import path from "path"
|
|
import tailwindcss from "@tailwindcss/vite"
|
|
import react from "@vitejs/plugin-react-swc"
|
|
import { lingui } from "@lingui/vite-plugin"
|
|
|
|
export default defineConfig({
|
|
base: "./",
|
|
plugins: [
|
|
react({
|
|
plugins: [["@lingui/swc-plugin", {}]],
|
|
}),
|
|
lingui(),
|
|
tailwindcss(),
|
|
],
|
|
esbuild: {
|
|
legalComments: "external",
|
|
},
|
|
resolve: {
|
|
alias: {
|
|
"@": path.resolve(__dirname, "./src"),
|
|
},
|
|
},
|
|
server: {
|
|
proxy: {
|
|
"/api": {
|
|
target: "http://localhost:8090",
|
|
changeOrigin: true,
|
|
},
|
|
},
|
|
},
|
|
})
|