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鈥檒l 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

Comments

Projects
None yet
2 participants
@Darkside73
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 in f384103 Nov 17, 2017

@pi0

This comment has been minimized.

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