generateSW() result doesn't match the docs
Brought to you by:
tomkozak
Originally created by: HazzMan2409
When using workbox-build I assumed looking at the docs that I would be able to get information about what will be pre-cache from the generateSW() result. See https://developer.chrome.com/docs/workbox/modules/workbox-build#generatesw_mode
When I call generateSW() I get output that looks like:
filePaths: [
'<path_to_service_worker>.js.map',
'<path_to_service_worker>.js',
'<path_to_workbox_script>.js.map',
'<path_to_workbox_script>.js'
],
count: 4,
size: 5653385,
warnings: []
Is this expected behavior? If so the docs need changed.
Originally posted by: tobyweb3x
from the typescript docs...
so, i guess you're good, man. hey, please take a look at my questions on the stackoverflow... i've been crying to everyone i think knows workbox to help me, no answers. My job greatly depends on this (cos i was the idiot who pitched, i can use workbox to achieve this).
https://stackoverflow.com/questions/79240111/the-browser-says-the-sw-is-activated-and-running-but-it-never-answers-to-any-r
https://stackoverflow.com/questions/79248372/error-generatesw-must-have-required-property-swdest-but-property-is-presen