mirror of
https://github.com/alrayyes/wiki.git
synced 2024-12-01 15:26:23 +00:00
7 lines
198 B
JavaScript
7 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,
|
|
})
|