Include more assets in PWA precache

This commit is contained in:
thepaperpilot 2023-02-25 11:35:07 -06:00
parent d30cfe857f
commit be9a85c14e

View file

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