mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-08-14 23:57:27 +00:00
fix: Avoid unnecessary precaching (#2258)
This commit is contained in:
parent
fd6e57df35
commit
db6872f21d
1 changed files with 7 additions and 1 deletions
|
@ -21,7 +21,13 @@ export default defineConfig({
|
||||||
VitePWA({
|
VitePWA({
|
||||||
registerType: "autoUpdate",
|
registerType: "autoUpdate",
|
||||||
workbox: {
|
workbox: {
|
||||||
globPatterns: ["**/*.{js,css,html,ico,svg,png}", "manifest.webmanifest"],
|
globPatterns: [
|
||||||
|
"**/*.{css,html}",
|
||||||
|
"**/[A-Z]*.js",
|
||||||
|
"**/index*.js",
|
||||||
|
"**/shaka-player*.js",
|
||||||
|
"manifest.webmanifest",
|
||||||
|
],
|
||||||
globIgnores: ["**/*-legacy-*.js"],
|
globIgnores: ["**/*-legacy-*.js"],
|
||||||
runtimeCaching: [
|
runtimeCaching: [
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue