Skip to main content
Deno 2 is finally here 🎉️
Learn more
import * as macromaniaAssets from "https://deno.land/x/macromania_assets@v0.2.0/mod.tsx";

Functions

Configure how to copy and transform assets from some directory into an output directory.

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.

Copy the input file to the output directory.

Type Aliases

A description of which transformations to apply to which files.

A function for transforming assets, reading them from an asset directory, and placing the result in the OutFs.

Information about an asset: where the input resides, and where the output should be placed.