It fails under AOT complaining about components being declared twice.
I removed every reference/import to "primeng/primeg" (which took a while ;( ) as stated in some forum/search.
There´s an identical issue https://github.com/primefaces/primeng/issues/3122
So if I do this...
Code: Select all
@NgModule({
imports: [
TableModule,
...],
exports: [TableModule],
declarations: [
MyCustomOverridePaginator
]
export class MyTableModule {}
So the ¿obvious? choice is to re-declare all TableModule in my own module, adding the overriden component... such as:
Code: Select all
declarations: [
...primengDeclared, // this includes Table, and so on....
MyCustomOverridePaginator
],
exports: [
...primengExported, // this includes Table, and so on....
MyCustomOverridePaginator]
It seems like it´s evaluating TableModule eventhough i´m not importing it. And it might be because it´s in the same .ts file as the imported components. This is very problematic....
Thanks in advance