Source code

Revision control

Copy as Markdown

Other Tools

onmessage = e => {
e.waitUntil(import("./module.json", { with: { type: "json" } })
.then(module => e.source.postMessage("LOADED"))
.catch(error => e.source.postMessage("FAILED")));
};