Make sure export isn't internal to the package

This commit is contained in:
Fabio Berger
2018-08-17 14:12:23 -07:00
parent ea4d7f153a
commit 0f7ced3625

View File

@@ -411,7 +411,7 @@ export class DocGenerateAndUploadUtils {
const externalExports: string[] = [];
_.each(this._exportPathToExportedItems, (exportedItems, exportPath) => {
const pathIfExists = this._monoRepoPkgNameToPath[exportPath];
if (_.isUndefined(pathIfExists)) {
if (_.isUndefined(pathIfExists) && !_.startsWith(exportPath, './')) {
_.each(exportedItems, exportedItem => {
externalExports.push(exportedItem);
});