A very big library I am creating, so naturally I am thinking to modularise the public_api.ts
for different huge modules.
But it seems I cannot achieve that via something like this in the root public_api.ts
:
export * from "./lib/lib2-m1/public_api";
export * from "./lib/lib2-m2/public_api";
And also the ng-package.json
used by ng-packagr is using entryFile
which is a singular.
A simple demo to present the case.
Any idea will be appreciated for better modularisation of the big lib.
You can try creating
index.ts
file withpublic-api.ts
file and use that index file in root public-api.ts file in rootpublic-api.ts
This worked in my project.