Jeff Posnick
Jeff Posnick
(I just discovered that the referrer information is available directly as [`event.request.referrer`](https://fetch.spec.whatwg.org/#dom-request-referrer), in case that makes things easier for you.)
Thanks for the confirmation, @asutherland! (I'd still love to figure out how to create a loader template for `rollup-plugin-off-main-thread` that resulted in `importScripts()` that wasn't wrapped in a `Promise` for...
Thanks for your contribution! Most of these changes apply to documentation that was originally copied over from https://github.com/vuejs-templates/webpack Rather than have the docs diverge further, I'd ask that you submit...
`vue-cli` v3 (currently the beta release) uses Workbox as part of it's `pwa` template. There are instructions on using `vue-cli` v3 at https://github.com/vuejs/vue-cli#status-beta (The Workbox integration is https://github.com/vuejs/vue-cli/blob/dev/packages/%40vue/cli-plugin-pwa/index.js)
Regarding @MatiasArriola's [question](https://github.com/vuejs-templates/pwa/issues/106#issuecomment-346017752), the fix should be https://github.com/vuejs-templates/pwa/pull/53 and will be deployed in the next release of this template.
- Do you see this error locally, or just in the Heroku environment? - Can you provide some more context, such as the stack trace associated with that error message?...
Are you serving your `service-worker.js` file with HTTP caching enabled? If so, this could lead to delayed updates of cached resources for up to 24 hours (in Chrome): https://stackoverflow.com/questions/38843970/service-worker-javascript-update-frequency-every-24-hours/38854905#38854905
In general, changes to the build that are not specific to the PWA template should be made against the canonical config, which in this case is https://github.com/vuejs-templates/webpack/blob/develop/template/config/index.js#L58. Once that's reviewed...
FWIW, we (the `sw-toolbox` maintainers) don't like that syntax either 😄 @NekR has already been CC:ed on the GitHub issue, but we're thinking about a rewrite of a lot of...
In general, the ideal approach for adding in a service worker to a "content" site is to have the service worker mimic the templating/routing rules used during either the static...