feat: allow plugins to modify HTML body (#2022)

Based on https://github.com/denoland/fresh/pull/1769 . Mostly added a
test.

---------

Co-authored-by: Adam Gregory <adam@aguilaengineering.com>
This commit is contained in:
Marvin Hagemeister
2023-11-10 13:59:41 +01:00
committed by GitHub
co-authored by Adam Gregory
parent 14cecc0a6f
commit 7ff2781fcd
11 changed files with 109 additions and 2 deletions
+5
View File
@@ -0,0 +1,5 @@
#!/usr/bin/env -S deno run -A --watch=static/,routes/
import dev from "$fresh/dev.ts";
await dev(import.meta.url, "./main.ts");