2023-06-04 23:35:45 +07:00
|
|
|
#!/usr/bin/env node
|
2023-07-23 07:27:41 +07:00
|
|
|
import workerpool from "workerpool"
|
2023-06-04 23:35:45 +07:00
|
|
|
const cacheFile = "./.quartz-cache/transpiled-worker.mjs"
|
|
|
|
const { parseFiles } = await import(cacheFile)
|
|
|
|
workerpool.worker({
|
2023-07-23 07:27:41 +07:00
|
|
|
parseFiles,
|
2023-06-04 23:35:45 +07:00
|
|
|
})
|