Include more assets in PWA precache

This commit is contained in:
thepaperpilot 2023-02-25 11:35:07 -06:00
parent cb3075dba6
commit 00824012a5

View file

@ -32,6 +32,9 @@ export default defineConfig({
tsconfigPaths(), tsconfigPaths(),
VitePWA({ VitePWA({
includeAssets: ["Logo.svg", "favicon.ico", "robots.txt", "apple-touch-icon.png"], includeAssets: ["Logo.svg", "favicon.ico", "robots.txt", "apple-touch-icon.png"],
workbox: {
globPatterns: ['**/*.{js,css,html,ico,png,svg}']
},
manifest: { manifest: {
name: projInfo.title, name: projInfo.title,
short_name: projInfo.title, short_name: projInfo.title,