Skip to content

armgit / dashy

Public Imported from GitHub
0

πŸš€ A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!

fix: update workboxOptions to exclude specific file patterns

uy/sun14fb8cd5e73c
diff --git a/src/utils/defaults.js b/src/utils/defaults.js
index 0089fd27..e952310d 100644
--- a/src/utils/defaults.js
+++ b/src/utils/defaults.js
@@ -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$/,
],
},
},