feat(server): add safety checks during dev (#1489)

Co-authored-by: Reed von Redwitz <reed+github@vonredwitz.com>
This commit is contained in:
Michael Herzner
2023-07-31 11:48:26 +02:00
committed by GitHub
co-authored by Reed von Redwitz
parent 430be774e2
commit a7fe9d04f1
20 changed files with 398 additions and 18 deletions
@@ -0,0 +1,11 @@
import { Plugin } from "$fresh/server.ts";
export default function notCallingCtxRender(): Plugin {
return {
name: "not_calling_ctx_render",
entrypoints: {},
render() {
return {};
},
};
}