Currently, I am facing an issue while trying to export the primeng modules from a file. During the test build, I do not encounter any errors. However, when I proceed with the production build, I come across the following error:
ERROR in Symbol InputText declared in Q:/Projects/LAST_BOSS/boss-web-ui/node_modules/primeng/inputtext/inputtext.d.ts is not exported from @models (import into Q:/Projects/LAST_BOSS/boss-web-ui/src/app/admin/form-generator/index/index.component.ts)
Below are the modules that I exported from the file:
export {ListboxModule} from "primeng/listbox";
export {ConfirmDialogModule} from 'primeng/confirmdialog';
export {ConfirmationService} from 'primeng/api';
export {TableModule} from "primeng/table";
export {DropdownModule} from "primeng/dropdown";
export {ButtonModule} from "primeng/button";
export {InputTextModule} from "primeng/inputtext";
export {CardModule} from "primeng/card";
export {InputSwitchModule} from "primeng/inputswitch";
export {ProgressBarModule} from "primeng/progressbar";
export {PanelModule} from "primeng/panel";
export {ToolbarModule} from "primeng/toolbar";
export {SplitButtonModule} from "primeng/splitbutton";
export {FieldsetModule} from "primeng/fieldset";
export {TabViewModule} from "primeng/tabview";
export {KeyFilterModule} from "primeng/keyfilter";
The file path specified in tsconfig.ts is as follows:
"paths": {
"@app": [
"src/app"
],
"@app/*": [
"src/app/*"
],
"@admin": [
"src/app/admin"
],
"@admin/*": [
"src/app/admin/*"
],
"@models": [
"src/app/admin/models"
],
"@models/*": [
"src/app/admin/models/*"
],
}
I am eagerly awaiting solutions to resolve this issue.