diff --git a/README.md b/README.md index 558e0bf..982604f 100644 --- a/README.md +++ b/README.md @@ -137,16 +137,16 @@ export default defineConfig({ The integration accepts a configuration object with the following properties -| property | type | required? | notes | -| ------------------- | ---------------------------------------------- | --------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | -| path | string | required | path to your _own_ service worker script; no surprises & easy debugging | -| assetCachePrefix | string | optional | cache storage name prefix | -| assetCacheVersionID | string | optional | cache storage name versioning; by default, a random UUID is used | -| customRoutes | string[] | optional | list of custom routes you want to be cached. Beware that non-existent routes that result to HTTP Error404 will cause the service worker to fail | -| excludeRoutes | string[] | optional | list of routes you want to be ignored/removed from assets | -| logAssets | boolean | optional | set to see a list of the assets found; defaults to false | -| esbuild | [BuildOptions](https://esbuild.github.io/api/) | optional | custom build options for your service worker script | -| registrationHooks | object | optional | provide callbacks for various registration events; see section on [Registration Hooks](#registration-hooks) | +| property | type | required? | notes | +| ------------------- | ---------------------------------------------- | --------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| path | string | required | path to your _own_ service worker script; no surprises & easy debugging | +| assetCachePrefix | string | optional | cache storage name prefix | +| assetCacheVersionID | string | optional | cache storage name versioning; by default, a random UUID is used | +| include | string[] | optional | list of URL of resources not in the public directory or generated by Astro, but you want to be cached. Beware that non-existent routes that result to HTTP Error404 will cause the service worker to fail | +| exclude | string[] | optional | list of URL or routes you want to be ignored/removed from cached assets | +| logAssets | boolean | optional | set to see a list of the assets found; defaults to false | +| esbuild | [BuildOptions](https://esbuild.github.io/api/) | optional | custom build options for your service worker script | +| registrationHooks | object | optional | provide callbacks for various registration events; see section on [Registration Hooks](#registration-hooks) | ---