workbox.precaching.suppressWarnings is not a function

Created on 30 Apr 2019  路  1Comment  路  Source: GoogleChrome/workbox

Hi
I've migrated from v 3.6.0 to 4.3.0 and this error rise in my service-worker.js
"workbox.precaching.suppressWarnings is not a function".

what function should I use instead of "suppressWarnings" in version 4.3.0?

Most helpful comment

Sorry about that鈥攜ou can just remove the call entirely. The exact warning messages that v3.6.0 would print out weren't carried over to v4.3.0, so it's no longer needed.

>All comments

Sorry about that鈥攜ou can just remove the call entirely. The exact warning messages that v3.6.0 would print out weren't carried over to v4.3.0, so it's no longer needed.

Was this page helpful?
0 / 5 - 0 ratings