Skip to main content
Module

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

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

Parameters

url: string
sourceContent: Uint8Array
contentType: string | null

Returns

Promise<{ code: string; type: SourceType; isStyle: boolean; map?: string; } | null>