blob: 9466c6fbe409a790ee3eab5405b98b86b7842a40 (
plain)
1
2
3
4
5
|
onmessage = e => {
e.waitUntil(import("./module.json", { assert: { type: "json" } })
.then(module => e.source.postMessage("LOADED"))
.catch(error => e.source.postMessage("FAILED")));
};
|