Skip to content

sourceFilesForTree

Walk the AlloyNode tree, collecting <SourceDirectory>, <SourceFile>, and <CopyFile> markers into an OutputDirectory.

import { sourceFilesForTree } from "@alloy-js/core";
function sourceFilesForTree(rootNode: AlloyNode, opts?: PrintTreeOptions): OutputDirectory;
rootNodeAlloyNode
optsoptional PrintTreeOptions
OutputDirectory