Skip to content
This repository has been archived by the owner on Jan 23, 2021. It is now read-only.

Commit

Permalink
Support for the dontCacheBustUrlsMatching option in the CLI. (#218)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffposnick authored and addyosmani committed Nov 23, 2016
1 parent c9b88bc commit d5bc712
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,10 @@ function setDefaults(cli, configFileFlags) {
(('clientsClaim' in configFileFlags) ?
configFileFlags.clientsClaim : undefined);

compositeFlags.dontCacheBustUrlsMatching =
compositeFlags.dontCacheBustUrlsMatching ||
configFileFlags.dontCacheBustUrlsMatching;

return compositeFlags;
}

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sw-precache",
"version": "4.2.2",
"version": "4.2.3",
"description": "Generates a service worker to cache your local App Shell resources.",
"author": {
"name": "Jeff Posnick",
Expand Down

0 comments on commit d5bc712

Please sign in to comment.