From e37f9773039caeed317caf13627a90924a03688a Mon Sep 17 00:00:00 2001 From: Chandler Prall Date: Mon, 3 Aug 2020 14:41:50 -0600 Subject: [PATCH] Remove src-docs files from eui.d.ts modules (#3856) * Remove src-docs files from eui.d.ts modules * changelog --- CHANGELOG.md | 1 + scripts/dtsgenerator.js | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6147c83f07e..53becaccdec 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,7 @@ **Bug fixes** - Improve `EuiDataGrid` Chrome rendering performance in Full screen [#3705](https://github.com/elastic/eui/issues/3705) +- Removed `@elastic/eui/src-docs` entries from published _eui.d.ts_ ([#3856](https://github.com/elastic/eui/pull/3856)) ## [`27.3.1`](https://github.com/elastic/eui/tree/v27.3.1) diff --git a/scripts/dtsgenerator.js b/scripts/dtsgenerator.js index 48ee9deff7b..8f4fe4dcd4c 100644 --- a/scripts/dtsgenerator.js +++ b/scripts/dtsgenerator.js @@ -36,7 +36,8 @@ const generator = dtsGenerator({ '**/*.testenv.ts', '**/*.testenv.tsx', 'src/themes/charts/*', // A separate d.ts file is generated for the charts theme file - 'src/test/*' // A separate d.ts file is generated for test utils + 'src/test/*', // A separate d.ts file is generated for test utils + 'src-docs/**/*', // Don't include src-docs ], resolveModuleId(params) { if (