Skip to content

Commit 14fb8cd

Browse files
committed
fix: update workboxOptions to exclude specific file patterns
1 parent c0820d7 commit 14fb8cd

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

src/utils/defaults.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -328,8 +328,12 @@ module.exports = {
328328
msTileImage: './web-icons/dashy-logo.png',
329329
},
330330
workboxOptions: {
331-
globIgnores: [
332-
'**/.*', // Ignore dotfiles
331+
exclude: [
332+
// https://developer.chrome.com/docs/workbox/modules/workbox-build#properties_14
333+
/\.map$/,
334+
/^manifest.*\.js$/, // default value
335+
/\.nojekyll$/,
336+
/\.gitignore$/,
333337
],
334338
},
335339
},

0 commit comments

Comments
 (0)