site/quartz/bootstrap-worker.mjs
2024-04-05 02:03:11 +02: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,
})