try PWA config again - erroring after transition
This commit is contained in:
parent
bbdd7df067
commit
eae6dac86a
|
@ -11,6 +11,7 @@ export default defineConfig({
|
||||||
// globPatterns: ["**/*.(mp4|m4a)"],
|
// globPatterns: ["**/*.(mp4|m4a)"],
|
||||||
globPatterns: ["*/*.*", "*.*"],
|
globPatterns: ["*/*.*", "*.*"],
|
||||||
maximumFileSizeToCacheInBytes: 5242880,
|
maximumFileSizeToCacheInBytes: 5242880,
|
||||||
|
cleanupOutdatedCaches: true,
|
||||||
},
|
},
|
||||||
includeAssets: ["**/*.(js|html|svg|png|jpg|jpeg|eot|woff|woff2|ttf)"],
|
includeAssets: ["**/*.(js|html|svg|png|jpg|jpeg|eot|woff|woff2|ttf)"],
|
||||||
filename: "service-worker.js",
|
filename: "service-worker.js",
|
||||||
|
|
Loading…
Reference in New Issue