chore: improve manifest generator (#125)

Make the manifest generator output nicer:
 - routes are sorted
 - manifest is sent through `deno fmt`
This commit is contained in:
Luca Casonato
2022-03-08 00:24:10 +01:00
committed by GitHub
parent 73fd41be31
commit e57e9c48f1
6 changed files with 69 additions and 57 deletions
+5 -5
View File
@@ -1,18 +1,18 @@
// DO NOT EDIT. This file is generated by `fresh`.
// This file SHOULD be checked into source version control.
// To update this file, run `fresh routes`.
// To update this file, run `fresh manifest`.
import * as $0 from "./routes/_render.ts";
import * as $1 from "./routes/gfm.css.ts";
import * as $2 from "./routes/docs/[...slug].tsx";
import * as $1 from "./routes/docs/[...slug].tsx";
import * as $2 from "./routes/gfm.css.ts";
import * as $3 from "./routes/index.tsx";
import * as $$0 from "./islands/Counter.tsx";
const manifest = {
routes: {
"./routes/_render.ts": $0,
"./routes/gfm.css.ts": $1,
"./routes/docs/[...slug].tsx": $2,
"./routes/docs/[...slug].tsx": $1,
"./routes/gfm.css.ts": $2,
"./routes/index.tsx": $3,
},
islands: {