chore(build): separate markdown and html handling into two separate stages (#1675)
This commit is contained in:
parent
b7a945e034
commit
c90dbacab0
4 changed files with 103 additions and 37 deletions
|
@ -1,7 +1,8 @@
|
|||
#!/usr/bin/env node
|
||||
import workerpool from "workerpool"
|
||||
const cacheFile = "./.quartz-cache/transpiled-worker.mjs"
|
||||
const { parseFiles } = await import(cacheFile)
|
||||
const { parseMarkdown, processHtml } = await import(cacheFile)
|
||||
workerpool.worker({
|
||||
parseFiles,
|
||||
parseMarkdown,
|
||||
processHtml,
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue