feat(server): add safety checks during dev (#1489)
Co-authored-by: Reed von Redwitz <reed+github@vonredwitz.com>
This commit is contained in:
co-authored by
Reed von Redwitz
parent
430be774e2
commit
a7fe9d04f1
@@ -0,0 +1,15 @@
|
||||
/// <reference no-default-lib="true" />
|
||||
/// <reference lib="dom" />
|
||||
/// <reference lib="dom.iterable" />
|
||||
/// <reference lib="dom.asynciterable" />
|
||||
/// <reference lib="deno.ns" />
|
||||
|
||||
import { start } from "$fresh/server.ts";
|
||||
import manifest from "./fresh.gen.ts";
|
||||
import notCallingCtxRender from "./plugins/not_calling_ctx_render.ts";
|
||||
import notHavingModules from "./plugins/not_having_modules.ts";
|
||||
|
||||
await start(manifest, {
|
||||
plugins: [notHavingModules(), notCallingCtxRender()],
|
||||
staticDir: "./custom_static",
|
||||
});
|
||||
Reference in New Issue
Block a user