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

Warnings in workbox 2.0 #14

Closed
Darkside73 opened this issue Nov 17, 2017 · 1 comment
Closed

Warnings in workbox 2.0 #14

Darkside73 opened this issue Nov 17, 2017 · 1 comment

Comments

@Darkside73
Copy link
Contributor

Darkside73 commented Nov 17, 2017

There are several warnings in console after upgrade to v2.0:

🔧 [Warn] registerRoute() was called with a string containing an Express-style wildcard character. In the next version of Workbox, Express-style wildcards won't be supported, and strings will be treated a exact matches. Please switch to regular expressions for equivalent behavior.
workbox-sw.prod.v2.1.2.js:23 Path String:  /**
workbox-sw.prod.v2.1.2.js:23 Wildcard Character:  *
workbox-sw.prod.v2.1.2.js:23 Learn More:  https://goo.gl/xZMKEV
workbox-sw.prod.v2.1.2.js:sourcemap:23 🔧 [Warn] registerRoute() was called with a string containing an Express-style wildcard character. In the next version of Workbox, Express-style wildcards won't be supported, and strings will be treated a exact matches. Please switch to regular expressions for equivalent behavior.
workbox-sw.prod.v2.1.2.js:23 Path String:  /_nuxt/**
workbox-sw.prod.v2.1.2.js:23 Wildcard Character:  *
workbox-sw.prod.v2.1.2.js:23 Learn More:  https://goo.gl/xZMKEV
This question is available on Nuxt.js community (#c13)
@pi0 pi0 closed this as completed in f384103 Nov 17, 2017
@pi0
Copy link
Member

pi0 commented Nov 17, 2017

Thanks, @Darkside73 for the tip. It should be fixed with 2.0.1 :)

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