refactor(frontend): changes to no longer use server side and only static files
This commit is contained in:
@@ -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,
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user