import { type AssetDir } from "https://deno.land/x/macromania_assets@v0.2.0/mod.tsx";
A description of which transformations to apply to which files.
The transformation
property selects the transformation to apply to the
(non-directory) files in this directory (unless overwritten by more specific
configuration information). "ignore"
means that the files in this
directory will not be processed at all. If transformation
is undefined
,
then the transformation of the parent directory is used in this directory.
The children
allow to overwrite transformations for specific files or
directories. Mapping some name to "ignore"
or an AssetTransform
indicates that there should be a file of the given name in this directory,
and it should be ignored or transformed with the given transform
respectively. Files in this directory that do not appear in the children
are processed with the transformation
of the directory.
Mapping a name to another AssetDir
indicates a nested directory, which can
be configured in the same way (its transformation
, if specified,
overwriting that of its parent).