This is to tidy up the `author-packagse`, which currently duplicates a lot of the configuration in the main packages. We need to DRY this up so that we don't fall foul of a change in one being missed in the other.
14 lines
332 B
JavaScript
14 lines
332 B
JavaScript
module.exports = function markBarredODocsAsPrivate() {
|
|
return {
|
|
$runAfter: ['readTypeScriptModules'],
|
|
$runBefore: ['adding-extra-docs'],
|
|
$process: function(docs) {
|
|
docs.forEach(doc => {
|
|
if (doc.name && doc.name.indexOf('ɵ') === 0) {
|
|
doc.privateExport = true;
|
|
}
|
|
});
|
|
}
|
|
};
|
|
};
|