wip: handle vite tooling manually

This commit is contained in:
Alexander Navarro 2025-04-25 16:53:44 -04:00
parent 9c1a8f030c
commit e8f111c2ff
11 changed files with 134 additions and 71 deletions

View file

@ -1,6 +1,9 @@
import {defineConfig} from "vite";
export default defineConfig({
root: "frontend/assets",
publicDir: "frontend/static",
base: "/public/assets",
plugins: [],
server: {
port: 3001,
@ -8,6 +11,9 @@ export default defineConfig({
cors: true,
},
build: {
outDir: "../../public", // outDir is relative to the root config
assetsDir: "assets",
emptyOutDir: true,
manifest: true,
rollupOptions: {
input: [