adjust pwa
This commit is contained in:
parent
0634c3a146
commit
f1ae0289f9
|
@ -39,9 +39,7 @@ export default defineConfig({
|
||||||
}),
|
}),
|
||||||
VitePWA({
|
VitePWA({
|
||||||
workbox: {
|
workbox: {
|
||||||
globPatterns: [
|
globPatterns: ["**/*.(mp4|m4a)"],
|
||||||
"**/*.(js|html|svg|png|jpg|jpeg|eot|woff|woff2|ttf|mp4|m4a)",
|
|
||||||
],
|
|
||||||
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