fix: update workboxOptions to exclude specific file patterns

This commit is contained in:
uy/sun 2025-07-13 15:41:37 +00:00
parent c0820d7fc6
commit 14fb8cd5e7

View File

@ -328,8 +328,12 @@ module.exports = {
msTileImage: './web-icons/dashy-logo.png',
},
workboxOptions: {
globIgnores: [
'**/.*', // Ignore dotfiles
exclude: [
// https://developer.chrome.com/docs/workbox/modules/workbox-build#properties_14
/\.map$/,
/^manifest.*\.js$/, // default value
/\.nojekyll$/,
/\.gitignore$/,
],
},
},