MCPcopy Create free account
hub / github.com/vercel/examples / sw.js

File sw.js

framework-boilerplates/preact/src/sw.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { getFiles, setupPrecaching, setupRouting } from 'preact-cli/sw/';
2
3setupRouting();
4setupPrecaching(getFiles());

Callers

nothing calls this directly

Calls 1

getFilesFunction · 0.85

Tested by

no test coverage detected