Skip to main content
Deno 2 is finally here 🎉️
Learn more
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://deno.land/x/aleph@v0.3.0-alpha.25/types.ts";

A loader plugin to load source media.

definition: { name: string; type: "loader"; test: RegExp; acceptHMR?: boolean; allowPage?: boolean; pagePathResolve?(url: string): { path: string; isIndex?: boolean; }; resolve?(url: string): Uint8Array | Promise<Uint8Array>; transform?(input: { url: string; content: Uint8Array; map?: Uint8Array; }): LoaderTransformOutput | Promise<LoaderTransformOutput>; }