mirror of
https://github.com/CharaChorder/DeviceManager.git
synced 2026-01-09 19:42:48 +00:00
pwa adjustments
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
import {sveltekit} from "@sveltejs/kit/vite"
|
||||
import {defineConfig} from "vite"
|
||||
import {SvelteKitPWA} from "@vite-pwa/sveltekit"
|
||||
// noinspection ES6PreferShortImport
|
||||
// import {themeColor} from "./src/lib/style/theme.server.js"
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [
|
||||
@@ -10,6 +12,19 @@ export default defineConfig({
|
||||
adapterFallback: "/200.html",
|
||||
trailingSlash: "never",
|
||||
},
|
||||
includeAssets: ["favicon.png"],
|
||||
manifest: {
|
||||
name: "dot i/o",
|
||||
id: "dot_io_v2",
|
||||
// theme_color: themeColor,
|
||||
icons: [
|
||||
{
|
||||
src: "icon.svg",
|
||||
sizes: "144x144",
|
||||
type: "image/svg+xml",
|
||||
},
|
||||
],
|
||||
},
|
||||
base: "/",
|
||||
workbox: {
|
||||
modifyURLPrefix: {
|
||||
|
||||
Reference in New Issue
Block a user