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.2.1/packages/core/mod.ts";

Class holding the result of all loaders generation

Constructors

new
LoaderContext(context: Context)

Methods

get<VALUE = unknown>(name: string): VALUE | undefined

Get the generation result of a loader

save(filePath: string)

Static Methods

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