@nuxtjs/workbox
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -6,2 +6,13 @@ # Change Log | ||
<a name="1.0.1"></a> | ||
## [1.0.1](https://github.com/nuxt/modules/compare/@nuxtjs/workbox@1.0.0...@nuxtjs/workbox@1.0.1) (2017-07-19) | ||
### Bug Fixes | ||
* **workbox:** update modifyUrlPrefix for latest workbox (#75) ([93e3b66](https://github.com/nuxt/modules/commit/93e3b66)), closes [#75](https://github.com/nuxt/modules/issues/75) | ||
<a name="0.4.0"></a> | ||
@@ -8,0 +19,0 @@ # [0.4.0](https://github.com/nuxt/modules/compare/@nuxtjs/workbox@0.3.4...@nuxtjs/workbox@0.4.0) (2017-06-06) |
const path = require('path') | ||
const workboxPlugin = require('workbox-webpack-plugin'); | ||
const workboxPlugin = require('workbox-webpack-plugin') | ||
@@ -31,3 +31,3 @@ const fixUrl = url => url.replace(/\/\//g, '/').replace(':/', '://') | ||
swDest: path.resolve(this.options.srcDir, 'static', swFileName), | ||
//navigateFallback: routerBase, // it has some BUGS | ||
// navigateFallback: routerBase, // it has some BUGS | ||
directoryIndex: '/', | ||
@@ -37,3 +37,3 @@ cacheId: process.env.npm_package_name + '_' + process.env.npm_package_version, | ||
modifyUrlPrefix: { | ||
'/': fixUrl(publicPath) | ||
'': fixUrl(publicPath) | ||
}, | ||
@@ -40,0 +40,0 @@ runtimeCaching: [ |
{ | ||
"name": "@nuxtjs/workbox", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
6090