Skip to content

Commit

Permalink
add test for workbox runtimeCaching
Browse files Browse the repository at this point in the history
  • Loading branch information
Pooya Parsa committed Nov 17, 2017
1 parent 5ac89cf commit 7b2c1af
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions test/fixture/nuxt.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,13 @@ module.exports = {
dev: true,
importScripts: [
'custom-sw.js'
],
runtimeCaching: [
{
urlPattern: 'https://google.com/.*',
handler: 'cacheFirst',
method: 'GET'
}
]
},
oneSignal: {
Expand Down

0 comments on commit 7b2c1af

Please sign in to comment.