mirror of
https://github.com/alrayyes/wiki.git
synced 2024-11-23 03:56:23 +00:00
8 lines
197 B
JavaScript
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
|
||
|
})
|