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
These method calls can fail if minification changes the names of the methods on the underlying QueueStore object.
I think it might be possible (via declare in TypeScript?) to give hints to various minifiers that they shouldn't do renaming, but honestly it might be easier just to use if()/else() conditionals to find the right method name to call, since there are usually only a couple to choose from for each code path.
The text was updated successfully, but these errors were encountered:
There are some dynamic method calls in
Queue.ts
along the lines of:workbox/packages/workbox-background-sync/src/Queue.ts
Line 279 in 48f53f7
(and a few more similar ones).
These method calls can fail if minification changes the names of the methods on the underlying
QueueStore
object.I think it might be possible (via
declare
in TypeScript?) to give hints to various minifiers that they shouldn't do renaming, but honestly it might be easier just to useif()
/else()
conditionals to find the right method name to call, since there are usually only a couple to choose from for each code path.The text was updated successfully, but these errors were encountered: