Files
Umbraco-CMS/src/Umbraco.Web.UI.Client/typedoc.config.js

23 lines
527 B
JavaScript
Raw Normal View History

2024-03-06 16:21:22 +01:00
import { packageJsonExports } from './devops/package/meta.js';
const excludePaths = ['./src/external', '.src/apps'];
const entryPoints = [];
for (const [key, value] of Object.entries(packageJsonExports || {})) {
if (value) {
let path = value.replace(/^\.\/dist-cms/, './src');
path = path.replace('.js', '.ts');
if (excludePaths.some((excludePath) => path.startsWith(excludePath))) {
console.log('excluding', path);
} else {
entryPoints.push(path);
}
}
}
2024-03-04 11:17:10 +01:00
export default {
2024-03-06 16:21:22 +01:00
entryPoints,
2024-03-21 10:55:45 +01:00
out: 'ui-api',
2024-03-04 11:17:10 +01:00
};