adjust pwa
This commit is contained in:
parent
f1ae0289f9
commit
7303588df2
|
@ -39,7 +39,8 @@ export default defineConfig({
|
||||||
}),
|
}),
|
||||||
VitePWA({
|
VitePWA({
|
||||||
workbox: {
|
workbox: {
|
||||||
globPatterns: ["**/*.(mp4|m4a)"],
|
// globPatterns: ["**/*.(mp4|m4a)"],
|
||||||
|
globPatterns: ["*/*.*", "*.*"],
|
||||||
maximumFileSizeToCacheInBytes: 5242880,
|
maximumFileSizeToCacheInBytes: 5242880,
|
||||||
},
|
},
|
||||||
includeAssets: ["**/*.(js|html|svg|png|jpg|jpeg|eot|woff|woff2|ttf)"],
|
includeAssets: ["**/*.(js|html|svg|png|jpg|jpeg|eot|woff|woff2|ttf)"],
|
||||||
|
|
Loading…
Reference in New Issue