BVBFuchs
2025-09-15 7bcab60f3ef83e31b7d1714a470f359c2b3daa4c
quartz/plugins/emitters/helpers.ts
@@ -2,12 +2,13 @@
import fs from "fs"
import { BuildCtx } from "../../util/ctx"
import { FilePath, FullSlug, joinSegments } from "../../util/path"
import { Readable } from "stream"
type WriteOptions = {
  ctx: BuildCtx
  slug: FullSlug
  ext: `.${string}` | ""
  content: string
  content: string | Buffer | Readable
}
export const write = async ({ ctx, slug, ext, content }: WriteOptions): Promise<FilePath> => {