Skip to main content
The Deno 2 Release Candidate is here
Learn more
Go to Latest
class LoaderContext
import { LoaderContext } from "https://deno.land/x/frugal@0.5.0/docs/dep/frugal/core.ts";

Class holding the result of all loaders generation

Constructors

new
LoaderContext(context: Context, persistence: Persistence)

Methods

get<VALUE = any>(name: string): VALUE

Get the generation result of a loader

save(filePath: string)

Static Methods

build(
config: CleanConfig,
assets: Asset[],
getLoaderCache: (name: string) => Promise<PersistentCache>,
)
load(config: CleanConfig, filePath: string)