rizaldy.club/quartz/bootstrap-worker.mjs
2023-06-04 12:35:45 -04:00

8 lines
197 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
})