Files
MikrotikManager/backend/src/services/traffic-flow-worker-bootstrap.mjs
T

5 lines
226 B
JavaScript

// Register the TypeScript resolver inside this worker; parent hooks are not enough.
import { tsImport } from "tsx/esm/api"
await tsImport(new URL("./traffic-flow-collector-worker.ts", import.meta.url).href, import.meta.url)