rizaldy.club/quartz/bootstrap-worker.mjs
2023-07-22 17:27:41 -07:00

8 lines
198 B
JavaScript

#!/usr/bin/env node
import workerpool from "workerpool"
const cacheFile = "./.quartz-cache/transpiled-worker.mjs"
const { parseFiles } = await import(cacheFile)
workerpool.worker({
parseFiles,
})