Skip to content

Commit

Permalink
feat(workbox): change the order of default runtimeCache (#106)
Browse files Browse the repository at this point in the history
  • Loading branch information
gyarasu authored and pi0 committed Dec 10, 2018
1 parent 5b14027 commit 033b504
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/workbox/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ function addTemplates (options) {
routingExtensions: options.routingExtensions,
config: options.config,
importScripts: [options.wbDst].concat(options.importScripts || []),
runtimeCaching: [].concat(options._runtimeCaching, options.runtimeCaching).map(i => (Object.assign({}, i, {
runtimeCaching: [].concat(options.runtimeCaching, options._runtimeCaching).map(i => (Object.assign({}, i, {
urlPattern: i.urlPattern,
handler: i.handler || 'networkFirst',
method: i.method || 'GET'
Expand Down

0 comments on commit 033b504

Please sign in to comment.