Skip to main content
The Deno 2 Release Candidate is here
Learn more
function resolveAssetToOutFsPath
import { resolveAssetToOutFsPath } from "https://deno.land/x/macromania_assets@v0.2.0/mod.tsx";

Given a sequence of names in the assets of the Assets macro, returns null if no asset under this name has been processed by a transformation, but otherwise returns the absolute path in the OutFs to which its transformation wrote its output file.

Parameters

ctx: Context
asset: string[]

Returns

string[] | null