23 lines
516 B
JavaScript
23 lines
516 B
JavaScript
import { defineConfig } from "vite";
|
|
import { resolve, join } from "path";
|
|
|
|
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",
|
|
},
|
|
},
|
|
},
|
|
});
|