ts-service-worker 1.3.3 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/dist/cli.mjs +2300 -5750
- package/dist/index.js +2301 -5728
- package/dist/index.js.map +4 -4
- package/package.json +7 -7
- package/types/generate.d.mts +6 -3
- package/types/requestHandler.d.mts +0 -1
- package/types/strategies.d.mts +16 -16
package/README.md
CHANGED
|
@@ -229,6 +229,7 @@ The following may be provided as `options`, and they affect the generation of th
|
|
|
229
229
|
* `version` – semantic version of the worker. Major or minor version change implies (and forces) a reset of the cache on the browser. It has no other meaning.
|
|
230
230
|
* `skipWaiting` – executes the normal skip waiting logic, and allows your service worker to come into play without all the browser windows being closed.
|
|
231
231
|
* `debug` – outputs log messages as files are fetched. This is too noisy for production, but may be useful to figure out what is going on with your service worker.
|
|
232
|
+
* `compact` – outputs compacted code, as opposed to non-compact easier to read and diff code
|
|
232
233
|
|
|
233
234
|
#### `Version` and Clearing the Cache
|
|
234
235
|
There are two components that relevant here:
|