sdfgsdgsdfg???

This commit is contained in:
not-nullptr 2024-11-15 12:10:07 +00:00
parent dace5398cf
commit 78b95c5c76
1 changed files with 8 additions and 2 deletions

View File

@ -14,6 +14,14 @@ vipsPromise
postMessage({ type: "error", error });
});
(async () => {
const v = await import("wasm-vips");
const res = await v.default({
dynamicLibraries: [],
});
console.log(res, "sigma");
})();
const handleMessage = async (
message: WorkerMessage,
): Promise<OmitBetterStrict<WorkerMessage, "id"> | undefined> => {
@ -34,8 +42,6 @@ const handleMessage = async (
}
};
console.log(Vips, vipsPromise);
onmessage = async (e) => {
const message: WorkerMessage = e.data;
try {