mirror of
https://github.com/Lissy93/dashy.git
synced 2025-07-28 16:14:33 +02:00
🔀 Merge pull request #1868 from he0119/fix/manifest
Fix pwa conflicting/missing entries in cache list
This commit is contained in:
commit
951aa74510
@ -317,7 +317,6 @@ module.exports = {
|
|||||||
/* Progressive Web App settings, used by Vue Config */
|
/* Progressive Web App settings, used by Vue Config */
|
||||||
pwa: {
|
pwa: {
|
||||||
name: 'Dashy',
|
name: 'Dashy',
|
||||||
manifestPath: './manifest.json',
|
|
||||||
themeColor: '#00af87',
|
themeColor: '#00af87',
|
||||||
msTileColor: '#0b1021',
|
msTileColor: '#0b1021',
|
||||||
mode: 'production',
|
mode: 'production',
|
||||||
@ -329,5 +328,14 @@ 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: {
|
||||||
|
exclude: [
|
||||||
|
// 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