File tree Expand file tree Collapse file tree 3 files changed +2
-8
lines changed
Expand file tree Collapse file tree 3 files changed +2
-8
lines changed Original file line number Diff line number Diff line change 11import * as path from "@std/path" ;
2- import type { Mode } from "./runtime/server/mod.ts" ;
32
43export interface FreshConfig {
54 root ?: string ;
@@ -30,9 +29,9 @@ export interface ResolvedFreshConfig {
3029 basePath : string ;
3130 staticDir : string ;
3231 /**
33- * Tells you in which mode Fresh is currently running in.
32+ * The mode Fresh can run in.
3433 */
35- mode : Mode ;
34+ mode : "development" | "production" ;
3635}
3736
3837export function parseRootPath ( root : string , cwd : string ) : string {
Original file line number Diff line number Diff line change @@ -12,7 +12,6 @@ export {
1212export type { RouteConfig } from "./types.ts" ;
1313export type { Middleware , MiddlewareFn } from "./middlewares/mod.ts" ;
1414export { staticFiles } from "./middlewares/static_files.ts" ;
15- export type { Mode } from "./runtime/server/mod.ts" ;
1615export type { FreshConfig , ResolvedFreshConfig } from "./config.ts" ;
1716export type { FreshContext , Island , PageProps } from "./context.ts" ;
1817export { createDefine , type Define } from "./define.ts" ;
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments