@nuxtjs/workbox
Advanced tools
Comparing version 0.3.3 to 0.3.4
@@ -6,2 +6,13 @@ # Change Log | ||
<a name="0.3.4"></a> | ||
## [0.3.4](https://github.com/nuxt/modules/compare/@nuxtjs/workbox@0.3.3...@nuxtjs/workbox@0.3.4) (2017-06-05) | ||
### Bug Fixes | ||
* **workbox:** incorrect swURL when routerBase is / ([efbd90e](https://github.com/nuxt/modules/commit/efbd90e)) | ||
<a name="0.3.3"></a> | ||
@@ -8,0 +19,0 @@ ## [0.3.3](https://github.com/nuxt/modules/compare/@nuxtjs/workbox@0.3.2...@nuxtjs/workbox@0.3.3) (2017-06-04) |
@@ -9,3 +9,3 @@ const path = require('path') | ||
module.exports = function nuxtWorkbox(options) { | ||
module.exports = function nuxtWorkbox (options) { | ||
if (this.options.dev) { | ||
@@ -54,3 +54,3 @@ return | ||
options: { | ||
swURL: routerBase + swFileName, | ||
swURL: fixUrl(`${routerBase}/${swFileName}`), | ||
swScope: fixUrl(`${routerBase}/`) | ||
@@ -57,0 +57,0 @@ } |
{ | ||
"name": "@nuxtjs/workbox", | ||
"version": "0.3.3", | ||
"version": "0.3.4", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
11038