fix: exclude dotfiles (.gitignore, .nojekyll) from PWA precache manifest

https://cli.vuejs.org/core-plugins/pwa.html#configuration
https://developer.chrome.com/docs/workbox/modules/workbox-build?hl=zh-cn#type-GlobPartial
This commit is contained in:
uy/sun 2025-07-13 00:28:50 +08:00
parent b916de9182
commit c0820d7fc6
No known key found for this signature in database

View File

@ -327,5 +327,10 @@ module.exports = {
maskIcon: './web-icons/dashy-logo.png',
msTileImage: './web-icons/dashy-logo.png',
},
workboxOptions: {
globIgnores: [
'**/.*', // Ignore dotfiles
],
},
},
};