mirror of
https://github.com/Lissy93/dashy.git
synced 2025-12-06 08:34:14 +01:00
fix: update workboxOptions to exclude specific file patterns
This commit is contained in:
parent
c0820d7fc6
commit
14fb8cd5e7
1 changed files with 6 additions and 2 deletions
|
|
@ -328,8 +328,12 @@ module.exports = {
|
||||||
msTileImage: './web-icons/dashy-logo.png',
|
msTileImage: './web-icons/dashy-logo.png',
|
||||||
},
|
},
|
||||||
workboxOptions: {
|
workboxOptions: {
|
||||||
globIgnores: [
|
exclude: [
|
||||||
'**/.*', // Ignore dotfiles
|
// https://developer.chrome.com/docs/workbox/modules/workbox-build#properties_14
|
||||||
|
/\.map$/,
|
||||||
|
/^manifest.*\.js$/, // default value
|
||||||
|
/\.nojekyll$/,
|
||||||
|
/\.gitignore$/,
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue