]>
git.immae.eu Git - github/bastienwirtz/homer.git/blob - vite.config.js
1 import { VitePWA
} from "vite-plugin-pwa";
2 import { fileURLToPath
, URL
} from "url";
4 import { defineConfig
} from "vite";
5 import vue
from "@vitejs/plugin-vue";
7 // https://vitejs.dev/config/
8 export default defineConfig({
11 assetsDir: "resources",
16 registerType: "autoUpdate",
18 manifestFilename: "assets/manifest.json",
20 name: "Homer dashboard",
22 description: "Home Server Dashboard",
23 theme_color: "#3367D6",
26 src: "./icons/pwa-192x192.png",
31 src: "./icons/pwa-512x512.png",
41 "@": fileURLToPath(new URL("./src", import.meta
.url
)),