v3: added localization, use global player for uploaded audio/video files

This commit is contained in:
khannurien
2026-04-03 15:29:33 +00:00
parent 378b3ffa46
commit 0ce80398a4
64 changed files with 4248 additions and 941 deletions

View File

@@ -1,5 +1,6 @@
import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
import react from "@vitejs/plugin-react-swc";
import { lingui } from "@lingui/vite-plugin";
export default defineConfig({
server: {
@@ -8,8 +9,10 @@ export default defineConfig({
ignored: ["**/api/**"],
},
},
plugins: [react()],
optimizeDeps: {
include: ["react/jsx-runtime"],
},
plugins: [
lingui(),
react({
plugins: [["@lingui/swc-plugin", {}]],
}),
],
});