mirror of https://github.com/VERT-sh/VERT.git
fifiixxixifixiifixi
This commit is contained in:
parent
76f7a097b9
commit
73fb9079ae
|
@ -1,3 +1,4 @@
|
||||||
|
import { log } from "$lib/logger";
|
||||||
import { type WorkerMessage, type OmitBetterStrict } from "$lib/types";
|
import { type WorkerMessage, type OmitBetterStrict } from "$lib/types";
|
||||||
import Vips from "wasm-vips";
|
import Vips from "wasm-vips";
|
||||||
|
|
||||||
|
@ -34,6 +35,8 @@ const handleMessage = async (
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
log(["libvips", "worker"], "worker loaded");
|
||||||
|
|
||||||
onmessage = async (e) => {
|
onmessage = async (e) => {
|
||||||
const message: WorkerMessage = e.data;
|
const message: WorkerMessage = e.data;
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Reference in New Issue