Module

x/aleph/server/mod.ts>Application#compile

The Full-stack Framework in Deno.
Very Popular
Go to Latest
method Application.prototype.compile
import { Application } from "https://dotland.deno.dev/x/aleph@v0.3.0-alpha.31/server/mod.ts";

compile a moudle by given url, then cache on the disk. each moudle only be compiled once unless you set the forceCompile option to true.

Parameters

url: string
optional
options: { sourceCode?: string; forceCompile?: boolean; once?: boolean; } = [UNSUPPORTED]

Returns

Promise<Module>