1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05:00

sw.js: fix TypeError with new workbox.

This commit is contained in:
XhmikosR 2018-03-20 17:22:05 +02:00
parent 7dc41e299b
commit 002cd8fc9a

5
sw.js
View file

@ -1,4 +1,5 @@
/* global workbox:false */
self.importScripts('/assets/js/vendor/{fileName}')
const workboxSW = new self.WorkboxSW()
workboxSW.precaching.precacheAndRoute([])
workbox.precaching.precacheAndRoute([])