Feature request: configure the tsconfig package by package
In our project, we use absolute path in our monorepo packages thanks to tsconfig-paths. This doesn't allow us to use a common tsconfig file in the plugin configuration, because the absolute paths would not be resolved correctly.
A fix for us would be able to configure a different tsconfig file for each package:
plugins: [
[
'docusaurus-plugin-typedoc-api',
{
packages: [
{ path: 'packages/package-2', tsconfigName: 'packages/package-1/tsconfig.json' },
{ path: 'packages/package-1, tsconfigName: 'packages/package-2/tsconfig.json' },
],
},
],
],
Do you think this could be possible ? Would you like us to possibly work on this subject and propose a PR ?
@Sc0ra I don't do anything with the tsconfig.json, the underlying TypeDoc library does.
It also really only cares about entry points (https://github.com/milesj/docusaurus-plugin-typedoc-api/blob/master/packages/plugin/src/plugin/data.ts#L72), so I'm not 100% sure how the configs are resolved.