keroosha.cybergulag.today/quartz/bootstrap-worker.mjs

8 lines
197 B
JavaScript
Raw Normal View History

2023-06-04 19:35:45 +03:00
#!/usr/bin/env node
import workerpool from 'workerpool'
const cacheFile = "./.quartz-cache/transpiled-worker.mjs"
const { parseFiles } = await import(cacheFile)
workerpool.worker({
parseFiles
})