diff options
| author | XhmikosR <[email protected]> | 2018-03-20 17:22:05 +0200 |
|---|---|---|
| committer | XhmikosR <[email protected]> | 2018-03-21 12:15:47 +0200 |
| commit | 002cd8fc9abd18b860bf2600a57a533cb0de5f6e (patch) | |
| tree | 49836bc9c66d905e0c39bbb9ec7db4fce69bf491 /sw.js | |
| parent | 7dc41e299b62f88961d608515f7252cb05dcd51e (diff) | |
| download | bootstrap-002cd8fc9abd18b860bf2600a57a533cb0de5f6e.tar.xz bootstrap-002cd8fc9abd18b860bf2600a57a533cb0de5f6e.zip | |
sw.js: fix TypeError with new workbox.
Diffstat (limited to 'sw.js')
| -rw-r--r-- | sw.js | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1,4 +1,5 @@ +/* global workbox:false */ + self.importScripts('/assets/js/vendor/{fileName}') -const workboxSW = new self.WorkboxSW() -workboxSW.precaching.precacheAndRoute([]) +workbox.precaching.precacheAndRoute([]) |
