refactor(frontend): changes to no longer use server side and only static files

This commit is contained in:
2025-07-19 11:38:11 -05:00
parent f41a1b3363
commit 39d23f4a8a
24 changed files with 1637 additions and 8625 deletions

View File

@@ -1,11 +1,13 @@
import { defineConfig } from 'vite'
import tsConfigPaths from 'vite-tsconfig-paths'
import { tanstackStart } from '@tanstack/react-start/plugin/vite'
import { defineConfig } from "vite";
import react from "@vitejs/plugin-react-swc";
// https://vite.dev/config/
export default defineConfig({
base: '/lst/',
server: {
port: 3000,
},
plugins: [tsConfigPaths(), tanstackStart({ target: 'node-server' })],
})
plugins: [react()],
base: "/lst/app/",
build: {
outDir: "../backend/frontend",
assetsDir: "assets",
emptyOutDir: true,
},
});