From 74cb15ed2b0a9ad6d8a8a28cb3867a6c12a0afcf Mon Sep 17 00:00:00 2001 From: Jeff Posnick Date: Tue, 22 Nov 2016 17:03:52 -0500 Subject: [PATCH] Support for the dontCacheBustUrlsMatching option in the CLI. --- cli.js | 4 ++++ package.json | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/cli.js b/cli.js index 9c69277..8d94df9 100755 --- a/cli.js +++ b/cli.js @@ -106,6 +106,10 @@ function setDefaults(cli, configFileFlags) { (('clientsClaim' in configFileFlags) ? configFileFlags.clientsClaim : undefined); + compositeFlags.dontCacheBustUrlsMatching = + compositeFlags.dontCacheBustUrlsMatching || + configFileFlags.dontCacheBustUrlsMatching; + return compositeFlags; } diff --git a/package.json b/package.json index cd044ae..9d49798 100644 --- a/package.json +++ b/package.json @@ -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",