Skip all dotfiles from sw generation
This commit is contained in:
parent
f0c1b4c902
commit
8c0057d6b2
1 changed files with 1 additions and 1 deletions
|
|
@ -49,9 +49,9 @@ module.exports = [{
|
|||
...(process.env.NODE_ENV === 'production' ? [
|
||||
new WorkboxPlugin.GenerateSW({
|
||||
exclude: [
|
||||
/(^|\/)\./,
|
||||
/\.map$/,
|
||||
/^manifest.*\.js$/,
|
||||
/.*?\.DS_Store$/,
|
||||
],
|
||||
// these options encourage the ServiceWorkers to get in there fast
|
||||
// and not allow any straggling "old" SWs to hang around
|
||||
|
|
|
|||
Loading…
Reference in a new issue