fix infinite bundle size bug

This commit is contained in:
CoolElectronics 2023-08-14 14:20:40 -04:00
parent 3539de7c18
commit 6c6ace4336
No known key found for this signature in database
GPG key ID: F63593D168636C50
5 changed files with 475 additions and 1014 deletions

View file

@ -6,10 +6,8 @@
* However, if a user changes the location of uv.bundle.js/uv.config.js or sw.js is not relative to them, they will need to modify this script locally.
*/
// import index from "sw-filemap"
// let filemap = JSON.parse(index);
let filemap = {};
self.filemap = {};
importScripts("filemap.js");
importScripts('uv/uv.bundle.js');
importScripts('uv.config.js');