You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/modules/workbox.md
+6
Original file line number
Diff line number
Diff line change
@@ -23,6 +23,12 @@ workbox: {
23
23
24
24
**importScripts** (Array) - Additional scripts to be imported in service worker script. (Relative to `/`. Can be placed in `assets/` directory)
25
25
26
+
**offlinePage** (String) - Enables routing all offline requests to the specified path. (Example: `/offline`)
27
+
28
+
**cachingExtensions** (String) - Loads and inserts the contents of the specified file path into the service worker script, below autogenerated calls to `workbox.precaching.*`. You may add as many extra calls as you want to this file.
29
+
30
+
**routingExtensions** (String) - Loads and inserts the contents of the specified file path into the service worker script, below autogenerated calls to `workbox.routing.*`. You may add as many extra calls as you want to this file.
31
+
26
32
For list of all available options see [here](https://developers.google.com/web/tools/workbox/modules/workbox-build)
0 commit comments