build docs at dist/api for easier ignoring
This commit is contained in:
@@ -24,7 +24,7 @@ const router = PromiseRouter()
|
|||||||
.use(pinoHttp({ logger }))
|
.use(pinoHttp({ logger }))
|
||||||
.use(compression())
|
.use(compression())
|
||||||
.use(builder.middleware())
|
.use(builder.middleware())
|
||||||
.use("/api", express.static("api"))
|
.use("/api", express.static("dist/api"))
|
||||||
|
|
||||||
.get("/guides/*", async (req: Request<{ 0: string }>, res) => {
|
.get("/guides/*", async (req: Request<{ 0: string }>, res) => {
|
||||||
res
|
res
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"entryPoints": ["../reacord/library/main.ts"],
|
"entryPoints": ["../reacord/library/main.ts"],
|
||||||
"out": ["api"],
|
"out": ["dist/api"],
|
||||||
"tsconfig": "../reacord/tsconfig.json",
|
"tsconfig": "../reacord/tsconfig.json",
|
||||||
"excludeInternal": true,
|
"excludeInternal": true,
|
||||||
"excludePrivate": true,
|
"excludePrivate": true,
|
||||||
|
|||||||
Reference in New Issue
Block a user