mirror of
https://github.com/CharaChorder/DeviceManager.git
synced 2026-01-21 09:23:00 +00:00
pwa adjustments
This commit is contained in:
@@ -3,5 +3,20 @@ import {defineConfig} from "vite"
|
||||
import {SvelteKitPWA} from "@vite-pwa/sveltekit"
|
||||
|
||||
export default defineConfig({
|
||||
plugins: [sveltekit(), SvelteKitPWA()],
|
||||
plugins: [
|
||||
sveltekit(),
|
||||
SvelteKitPWA({
|
||||
kit: {
|
||||
adapterFallback: "/200.html",
|
||||
trailingSlash: "never",
|
||||
},
|
||||
base: "/",
|
||||
workbox: {
|
||||
modifyURLPrefix: {
|
||||
"": "/",
|
||||
"./": "/",
|
||||
},
|
||||
},
|
||||
}),
|
||||
],
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user