Skip to main content
Module

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

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

download and compile a moudle by given url, then cache on the disk.

Parameters

url: string
optional
options: { sourceCode?: string; forceCompile?: boolean; bundleMode?: boolean; bundledModules?: string[]; }

Returns

Promise<Module>