Skip to content

non-stream,non-await transform #5

@DrSensor

Description

@DrSensor
for await (const { path } of expandsGlob(`examples/*/index.{html,svelte,astro,vue}`)) {
  rewriter.tranform(await Deno.readTextFile(path))
  console.debug(rewrite.peek())
}
const concatenated = rewrite.peek()
rewrite.flush() // reset buffer string
rewrite.peek() // empty string

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions