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:
parent
7dc41e299b
commit
002cd8fc9a
1 changed files with 3 additions and 2 deletions
5
sw.js
5
sw.js
|
@ -1,4 +1,5 @@
|
|||
/* global workbox:false */
|
||||
|
||||
self.importScripts('/assets/js/vendor/{fileName}')
|
||||
|
||||
const workboxSW = new self.WorkboxSW()
|
||||
workboxSW.precaching.precacheAndRoute([])
|
||||
workbox.precaching.precacheAndRoute([])
|
||||
|
|
Loading…
Reference in a new issue