diff --git a/core/docz-utils/src/imports.ts b/core/docz-utils/src/imports.ts index 5e2d96697..246cb0578 100644 --- a/core/docz-utils/src/imports.ts +++ b/core/docz-utils/src/imports.ts @@ -16,9 +16,7 @@ const traverseOnImports = (fn: (path: any) => any[]) => (node: any) => { traverse(ast, { enter(path: any): void { if (path.isImportDeclaration()) { - if (get(path, 'node.source.value') !== 'docz') { - populated = populated.concat(fn(path)) - } + populated = populated.concat(fn(path)) return } },