2024-07-23 00:01:29 -04:00
|
|
|
import { resolve, join } from "node:path";
|
2024-07-22 19:02:17 -04:00
|
|
|
import { defineConfig } from "vite";
|
|
|
|
|
|
|
|
export default defineConfig({
|
|
|
|
base: "/static/",
|
|
|
|
|
|
|
|
server: {
|
|
|
|
origin: "http://localhost:5173",
|
|
|
|
},
|
|
|
|
build: {
|
|
|
|
manifest: "manifest.json",
|
|
|
|
outDir: resolve("./vite-dist"),
|
|
|
|
rollupOptions: {
|
|
|
|
input: {
|
|
|
|
base: "./js/base.ts",
|
|
|
|
"paperwork/department_certifications":
|
|
|
|
"./paperwork/js/department_certifications.ts",
|
|
|
|
"dashboard/dashboard": "./dashboard/js/dashboard.ts",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
});
|