mirror of
https://github.com/fankes/beszel.git
synced 2025-10-19 01:39:34 +08:00
25 lines
463 B
TypeScript
25 lines
463 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"),
|
|
},
|
|
},
|
|
})
|