@oazmi/superbuild-plugins - v0.1.0
    Preparing search index...

    Interface HtmlDependency

    a generic dependency of an html file.

    interface HtmlDependency {
        originalArgs: HtmlDependencyArgs;
        handlerData?: any;
        replaceContent: ReplaceContentFn;
    }

    Hierarchy (View Summary)

    Index

    Properties

    originalArgs: HtmlDependencyArgs

    contains the original arguments of the node callback function (HtmlDependencyArgs), in order to construct the ReplaceContentFnArgs.

    handlerData?: any

    pass some arbitrary data to your replaceContent function's context (ReplaceContentFnContext).

    replaceContent: ReplaceContentFn

    the html node content replacement function. its first argument will be the htmlNode that is to be processed.

    this function is supposed to re-insert the import reference/link back into the html node from which it was originally extracted from.