🔀 Merge pull request #1868 from he0119/fix/manifest

Fix pwa conflicting/missing entries in cache list
This commit is contained in:
Alicia Sykes 2025-07-19 07:38:35 +01:00 committed by GitHub
commit 951aa74510
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -317,7 +317,6 @@ module.exports = {
/* Progressive Web App settings, used by Vue Config */
pwa: {
name: 'Dashy',
manifestPath: './manifest.json',
themeColor: '#00af87',
msTileColor: '#0b1021',
mode: 'production',
@ -329,5 +328,14 @@ module.exports = {
maskIcon: './web-icons/dashy-logo.png',
msTileImage: './web-icons/dashy-logo.png',
},
workboxOptions: {
exclude: [
// https://developer.chrome.com/docs/workbox/modules/workbox-build#properties_14
/\.map$/,
/^manifest.*\.js$/, // default value
/\.nojekyll$/,
/\.gitignore$/,
],
},
},
};