build: update frontend dependencies

This commit is contained in:
2026-03-15 19:18:58 +02:00
parent ac4a8fb2cd
commit 2e9837b70d
2 changed files with 6 additions and 5 deletions

View File

@@ -1,7 +1,6 @@
import react from "@vitejs/plugin-react";
import path from "path";
import { defineConfig, type Plugin } from "vite";
import tsconfigPaths from "vite-tsconfig-paths";
function rename(oldName: string, newName: string): Plugin {
return {
@@ -16,8 +15,11 @@ function rename(oldName: string, newName: string): Plugin {
}
export default defineConfig({
plugins: [react(), tsconfigPaths(), rename("index.html", "build-status.jinja2")],
plugins: [react(), rename("index.html", "build-status.jinja2")],
base: "/",
resolve: {
tsconfigPaths: true,
},
build: {
chunkSizeWarningLimit: 10000,
emptyOutDir: false,