Skip to main content
Module

x/aleph/types.ts>ServerApplication

The Full-stack Framework in Deno.
Very Popular
Go to Latest
interface ServerApplication
import { type ServerApplication } from "https://deno.land/x/aleph@v0.3.0-alpha.16/types.ts";

An interface that aligns to the parts of the aleph server's Application.

Properties

readonly
workingDir: string
readonly
mode: "development" | "production"
readonly
config: Required<Config>

Methods

addModule(url: string, options?: { code?: string; }): Promise<Module>
injectCode(stage: "compilation" | "hmr" | "ssr", transform: TransformFn): void