Skip to content

Commit e6c589b

Browse files
authored
chore: re-enable documenter snapshots (#3413)
1 parent 8fe8792 commit e6c589b

File tree

3 files changed

+20755
-2
lines changed

3 files changed

+20755
-2
lines changed

build-tools/tasks/docs.js

+6-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,12 @@ function validatePublicFiles(definitionFiles) {
2424
}
2525

2626
function componentDocs() {
27-
const definitions = documentComponents(require.resolve('../../tsconfig.json'), 'src/*/index.tsx');
27+
const definitions = documentComponents(require.resolve('../../tsconfig.json'), 'src/*/index.tsx', undefined, {
28+
extraExports: {
29+
FileDropzone: ['useFilesDragging'],
30+
TagEditor: ['getTagsDiff'],
31+
},
32+
});
2833
const outDir = path.join(workspace.apiDocsPath, 'components');
2934
const fileNames = definitions
3035
.filter(definition => {

0 commit comments

Comments
 (0)