diff --git a/packages/dox/build/parser.js b/packages/dox/build/parser.js index 00098c6a..e34e35a9 100644 --- a/packages/dox/build/parser.js +++ b/packages/dox/build/parser.js @@ -318,14 +318,8 @@ exports.parseFleckRoot = async (root, state) => { exports.parseFlecks = async (flecks) => { const state = new ParserState(); - const paths = Object.keys(flecks.resolver); - const roots = Array.from(new Set( - paths - .map((path) => flecks.root(path)) - .filter((e) => !!e), - )); await Promise.all( - roots + Object.keys(flecks.roots) .map(async (root) => { await exports.parseFleckRoot(root, state); }),