fix: add missing assets to sw to work offline (#139)

This commit is contained in:
userquin 2021-06-12 12:25:01 +02:00 committed by GitHub
parent 2750a7a78c
commit fa57edbaac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -71,6 +71,7 @@ export default defineConfig({
// https://github.com/antfu/vite-plugin-pwa
VitePWA({
registerType: 'autoUpdate',
includeAssets: ['favicon.svg', 'robots.txt', 'safari-pinned-tab.svg'],
manifest: {
name: 'Vitesse',
short_name: 'Vitesse',