diff options
author | Fabio Berger <me@fabioberger.com> | 2018-08-18 05:12:23 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2018-08-18 05:12:23 +0800 |
commit | 0f7ced3625417f0de14d3158551971d1b558fa2e (patch) | |
tree | eec257a6c5d3bdc4538c409d514b456388ca351c /packages | |
parent | ea4d7f153aed24ca8ea136b6d0671c65462c915b (diff) | |
download | dexon-sol-tools-0f7ced3625417f0de14d3158551971d1b558fa2e.tar dexon-sol-tools-0f7ced3625417f0de14d3158551971d1b558fa2e.tar.gz dexon-sol-tools-0f7ced3625417f0de14d3158551971d1b558fa2e.tar.bz2 dexon-sol-tools-0f7ced3625417f0de14d3158551971d1b558fa2e.tar.lz dexon-sol-tools-0f7ced3625417f0de14d3158551971d1b558fa2e.tar.xz dexon-sol-tools-0f7ced3625417f0de14d3158551971d1b558fa2e.tar.zst dexon-sol-tools-0f7ced3625417f0de14d3158551971d1b558fa2e.zip |
Make sure export isn't internal to the package
Diffstat (limited to 'packages')
-rw-r--r-- | packages/monorepo-scripts/src/utils/doc_generate_and_upload_utils.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/monorepo-scripts/src/utils/doc_generate_and_upload_utils.ts b/packages/monorepo-scripts/src/utils/doc_generate_and_upload_utils.ts index ac4000461..c321aa823 100644 --- a/packages/monorepo-scripts/src/utils/doc_generate_and_upload_utils.ts +++ b/packages/monorepo-scripts/src/utils/doc_generate_and_upload_utils.ts @@ -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); }); |