mirror of
https://github.com/henrygd/beszel.git
synced 2026-04-26 22:41:50 +02:00
migrate to lingui
This commit is contained in:
@@ -1,9 +1,15 @@
|
||||
import { defineConfig } from "vite"
|
||||
import react from "@vitejs/plugin-react"
|
||||
import path from "path"
|
||||
import react from "@vitejs/plugin-react-swc"
|
||||
import { lingui } from "@lingui/vite-plugin"
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [react()],
|
||||
plugins: [
|
||||
react({
|
||||
plugins: [["@lingui/swc-plugin", {}]],
|
||||
}),
|
||||
lingui(),
|
||||
],
|
||||
esbuild: {
|
||||
legalComments: "external",
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user