Make webpack 5 work

This commit is contained in:
Tusooa Zhu 2022-08-15 18:01:33 -04:00
commit aa97335b20
No known key found for this signature in database
GPG key ID: 7B467EDE43A08224
6 changed files with 361 additions and 1781 deletions

View file

@ -1,4 +1,4 @@
import runtime from 'serviceworker-webpack-plugin/lib/runtime'
import runtime from 'serviceworker-webpack5-plugin/lib/runtime'
function urlBase64ToUint8Array (base64String) {
const padding = '='.repeat((4 - base64String.length % 4) % 4)