mirror of
https://code.castopod.org/adaures/castopod
synced 2025-04-22 16:51:20 +00:00

- use vimejs as audio player - add global audio player + play episode buttons on public pages - refactor admin episodes list from a grid to a data table - arrange episode cards to be more readable closes #131
28 lines
816 B
TypeScript
28 lines
816 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",
|
|
"audio-player.ts": "app/Resources/js/audio-player.ts",
|
|
"embed.ts": "app/Resources/js/embed.ts",
|
|
"styles/index.css": "app/Resources/styles/index.css",
|
|
},
|
|
},
|
|
},
|
|
plugins: [ManifestCSS()],
|
|
});
|