mirror of
https://github.com/Lissy93/dashy.git
synced 2025-07-26 07:05:43 +02:00
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:
parent
b916de9182
commit
c0820d7fc6
@ -327,5 +327,10 @@ module.exports = {
|
|||||||
maskIcon: './web-icons/dashy-logo.png',
|
maskIcon: './web-icons/dashy-logo.png',
|
||||||
msTileImage: './web-icons/dashy-logo.png',
|
msTileImage: './web-icons/dashy-logo.png',
|
||||||
},
|
},
|
||||||
|
workboxOptions: {
|
||||||
|
globIgnores: [
|
||||||
|
'**/.*', // Ignore dotfiles
|
||||||
|
],
|
||||||
|
},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user