feat: add support for custom static folder in FreshOptions (#626)

Support custom (user provided) static assets folder or fallback to default behavior.
This commit is contained in:
Sourav Singh Rawat
2022-09-05 12:00:47 +00:00
committed by GitHub
parent 3a6cc935a1
commit 08d43803f7
4 changed files with 34 additions and 1 deletions
+1
View File
@@ -9,6 +9,7 @@ export type StartOptions = ServeInit & FreshOptions;
export interface FreshOptions {
render?: RenderFunction;
plugins?: Plugin[];
staticDir?: string;
}
export type RenderFunction = (