Permalink
Browse files

fix(workbox): fix globDirectory

  • Loading branch information...
pi0 committed Aug 11, 2017
1 parent eb0df06 commit db6588f12e72c6af8d3bdc32116b4287d7461e85
Showing with 1 addition and 1 deletion.
  1. +1 −1 modules/workbox/index.js
@@ -31,7 +31,7 @@ module.exports = function nuxtWorkbox (options) {
cacheId: process.env.npm_package_name + '_' + process.env.npm_package_version,
clientsClaim: true,
globPatterns: ['**\/*.{js,css}'],
globDirectory: this.options.rootDir,
globDirectory: path.resolve(this.options.buildDir, 'dist'),
modifyUrlPrefix: {
'': fixUrl(publicPath)
},

0 comments on commit db6588f

Please sign in to comment.