Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions src/config.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import * as path from "@std/path";
import type { Mode } from "./runtime/server/mod.ts";

export interface FreshConfig {
root?: string;
Expand Down Expand Up @@ -30,9 +29,9 @@ export interface ResolvedFreshConfig {
basePath: string;
staticDir: string;
/**
* Tells you in which mode Fresh is currently running in.
* The mode Fresh can run in.
*/
mode: Mode;
mode: "development" | "production";
}

export function parseRootPath(root: string, cwd: string): string {
Expand Down
1 change: 0 additions & 1 deletion src/mod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ export {
export type { RouteConfig } from "./types.ts";
export type { Middleware, MiddlewareFn } from "./middlewares/mod.ts";
export { staticFiles } from "./middlewares/static_files.ts";
export type { Mode } from "./runtime/server/mod.ts";
export type { FreshConfig, ResolvedFreshConfig } from "./config.ts";
export type { FreshContext, Island, PageProps } from "./context.ts";
export { createDefine, type Define } from "./define.ts";
Expand Down
4 changes: 0 additions & 4 deletions src/runtime/server/mod.ts

This file was deleted.

Loading