Skip to content

Commit

Permalink
rename sw.register to workbox
Browse files Browse the repository at this point in the history
  • Loading branch information
pooya parsa committed May 6, 2019
1 parent 4d3a8ec commit 4fef661
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/workbox/lib/module.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ module.exports = function nuxtWorkbox (moduleOptions) {
// Register plugin
if (options.autoRegister) {
this.addPlugin({
src: path.resolve(__dirname, '../templates/sw.register.js'),
src: path.resolve(__dirname, '../templates/workbox.js'),
ssr: false,
fileName: 'sw.register.js',
fileName: 'workbox.js',
options: {
...options
}
Expand Down
File renamed without changes.

0 comments on commit 4fef661

Please sign in to comment.