Permalink
Browse files

fix(workbox): hardcoded `static` dir (#73)

  • Loading branch information...
TrurlMcByte authored and pi0 committed Aug 24, 2018
1 parent ccb2c33 commit 6d241ec8518945115f85892e99de910221420810
Showing with 1 addition and 1 deletion.
  1. +1 −1 packages/workbox/index.js
@@ -49,7 +49,7 @@ function getOptions (moduleOptions) {
routerBase,
publicPath,
swSrc: path.resolve(this.options.buildDir, 'sw.template.js'),
swDest: path.resolve(this.options.srcDir, 'static', 'sw.js'),
swDest: path.resolve(this.options.srcDir, this.options.dir.static || 'static', 'sw.js'),
directoryIndex: '/',
cacheId: process.env.npm_package_name || 'nuxt',
clientsClaim: true,

0 comments on commit 6d241ec

Please sign in to comment.