Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Go to Latest
class LoaderContext
import { LoaderContext } from "https://deno.land/x/frugal@0.5.0/packages/core/LoaderContext.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)