Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

constructor error expiration #86

Open
MannimMond86 opened this issue Sep 27, 2020 · 1 comment
Open

constructor error expiration #86

MannimMond86 opened this issue Sep 27, 2020 · 1 comment

Comments

@MannimMond86
Copy link

delete: new workbox.expiration.Plugin() and use new ExpirationPlugin(config)
line 30
https://github.com/google-developer-training/pwa-training-labs/blob/master/sw-precache-workbox-lab/solution/app/sw.js

https://developers.google.com/web/tools/workbox/reference-docs/latest/module-workbox-expiration.ExpirationPlugin

best regards Tjark

@DavidScales
Copy link
Collaborator

Thanks Tjark. This lab is indeed a bit outdated - Workbox version 3 is used, while version 5 is current. I don't have time currently to update the API, but I will leave this issue as a reminder.

Thanks again!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants