feat(server): plugins can add middlewares and routes (#1455)

Co-authored-by: RoeHH <git@roeh.ch>
Co-authored-by: Marvin Hagemeister <marvin@deno.com>
This commit is contained in:
Reed von Redwitz
2023-07-13 11:26:07 +02:00
committed by GitHub
co-authored by RoeHH Marvin Hagemeister
parent 7dee138bee
commit 50db296fb7
10 changed files with 171 additions and 4 deletions
+4 -2
View File
@@ -3,13 +3,15 @@
// This file is automatically updated during development when running `dev.ts`.
import * as $0 from "./routes/static.tsx";
import * as $1 from "./routes/with-island.tsx";
import * as $1 from "./routes/test.tsx";
import * as $2 from "./routes/with-island.tsx";
import * as $$0 from "./islands/Island.tsx";
const manifest = {
routes: {
"./routes/static.tsx": $0,
"./routes/with-island.tsx": $1,
"./routes/test.tsx": $1,
"./routes/with-island.tsx": $2,
},
islands: {
"./islands/Island.tsx": $$0,