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