mirror of
https://github.com/Lissy93/dashy.git
synced 2025-07-25 14:44:49 +02:00
fix: update workboxOptions to exclude specific file patterns
This commit is contained in:
parent
c0820d7fc6
commit
14fb8cd5e7
@ -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…
x
Reference in New Issue
Block a user