Permalink
Browse files

perf(workbox): use default options

  • Loading branch information...
pi0 committed Jun 4, 2017
1 parent 8abb6e0 commit 946546fe3caff4e6eae665f26ad80dacad0e6ef9
Showing with 0 additions and 2 deletions.
  1. +0 −2 modules/workbox/index.js
@@ -26,8 +26,6 @@ module.exports = function nuxtWorkbox(options) {
//navigateFallback: routerBase, // it has some BUGS
directoryIndex: '/',
cacheId: process.env.npm_package_name + '_' + process.env.npm_package_version,
skipWaiting: true, // sw is being registered after onNuxtReady()
clientsClaim: true, // the generated service worker will claim any currently open pages
globPatterns: ['**\/*.{js,css,html,json}'],
modifyUrlPrefix: {
'/': publicPath

0 comments on commit 946546f

Please sign in to comment.