File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -38,12 +38,12 @@ The tests verify:
3838Call this js with workbox in your service worker.
3939``` js
4040importScripts (" https://storage.googleapis.com/workbox-cdn/releases/6.0.2/workbox-sw.js" );
41- importScripts (" https://cdn.jsdelivr.net/npm/weiwudi@0.1.4/src/weiwudi_sw.js" );
41+ importScripts (" https://cdn.jsdelivr.net/npm/@c4h/ weiwudi@0.1.4/src/weiwudi_sw.js" );
4242```
4343
4444### Front logic side
4545``` js
46- import Weiwudi from ' weiwudi' ;
46+ import Weiwudi from ' @c4h/ weiwudi' ;
4747
4848try {
4949 // Register service worker
Original file line number Diff line number Diff line change 11{
2- "name" : " weiwudi" ,
2+ "name" : " @c4h/weiwudi" ,
3+ "publishConfig" : {
4+ "access" : " public"
5+ },
36 "version" : " 0.1.4" ,
47 "description" : " Service worker for tile cache" ,
58 "main" : " dist/weiwudi.umd.js" ,
You can’t perform that action at this time.
0 commit comments