mirror of
https://code.castopod.org/adaures/castopod
synced 2025-04-22 16:51:20 +00:00
26 lines
704 B
TypeScript
26 lines
704 B
TypeScript
import { defineConfig } from "vite";
|
|
import { ManifestCSS } from "./vite-manifest-css";
|
|
|
|
// https://vitejs.dev/config/
|
|
export default defineConfig({
|
|
root: "./app/Resources",
|
|
base: "/assets/",
|
|
build: {
|
|
outDir: "../../public/assets",
|
|
assetsDir: "",
|
|
manifest: true,
|
|
sourcemap: true,
|
|
rollupOptions: {
|
|
input: {
|
|
"podcast.ts": "app/Resources/js/podcast.ts",
|
|
"install.ts": "app/Resources/js/install.ts",
|
|
"admin.ts": "app/Resources/js/admin.ts",
|
|
"charts.ts": "app/Resources/js/charts.ts",
|
|
"map.ts": "app/Resources/js/map.ts",
|
|
"styles/index.css": "app/Resources/styles/index.css",
|
|
},
|
|
},
|
|
},
|
|
plugins: [ManifestCSS()],
|
|
});
|