Module

x/aleph/types.ts>LoaderPlugin

The Full-stack Framework in Deno.
Very Popular
Go to Latest
type alias LoaderPlugin
import { type LoaderPlugin } from "https://dotland.deno.dev/x/aleph@v0.3.0-alpha.33/types.ts";

A loader plugin to load source media.

definition: { name: string; type: "loader"; test: RegExp; acceptHMR?: boolean; allowPage?: boolean; resolve?(url: string): ResolveResult; load?(input: { url: string; data?: any; }, app: ServerApplication): LoaderOutput | Promise<LoaderOutput>; }