migrate to lingui

This commit is contained in:
Henry Dollman
2024-11-01 20:31:57 -04:00
parent 856683610a
commit a93ff63605
76 changed files with 14410 additions and 3837 deletions

View File

@@ -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",
},