I'm working on creating stand-alone ng-libraries to be used in a parent app. Each of these libraries have multiple model files that are being used. But ng-packagr seems to be messing up the model file paths.
For example
import("projects/reports/src/lib/models/report.model").ReportModel[]
while the correct path should be the complete absolute path
export declare const selectState: import
import("../../../Users/Abhi/code/app/projects/reports/src/lib/models/report.model").ReportModel[]
One workaround for this is to inline all the models wherever they are used in the code instead of importing them as files. This is not the best solution but it works. For eg.