Skip to content

Commit

Permalink
Skip all dotfiles from sw generation
Browse files Browse the repository at this point in the history
  • Loading branch information
ochafik committed Dec 23, 2024
1 parent f0c1b4c commit 8c0057d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8c0057d

Please sign in to comment.