From 7dc41e299b62f88961d608515f7252cb05dcd51e Mon Sep 17 00:00:00 2001 From: Michael Date: Fri, 16 Mar 2018 20:46:58 +0000 Subject: Update to workbox 3.0 & fix breaking changes --- sw.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sw.js') diff --git a/sw.js b/sw.js index 037a1471b9..e1ab031ab4 100644 --- a/sw.js +++ b/sw.js @@ -1,4 +1,4 @@ self.importScripts('/assets/js/vendor/{fileName}') const workboxSW = new self.WorkboxSW() -workboxSW.precache([]) +workboxSW.precaching.precacheAndRoute([]) -- cgit v1.2.3