You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've noticed that in the current version of @swimlane/ngx-datatable (22.0.0), the library imports DOCUMENT from @angular/core.
However, in Angular 16+ (including Angular 19), DOCUMENT has been moved to @angular/common. As a result, using ngx-datatable in a project with Angular 19 and Nx (with esbuild) fails the build with:
No matching export in "@angular/core" for import "DOCUMENT"
It seems that on StackBlitz the build passes because their Vite/esbuild setup tolerates this import, but in strict local builds it fails.
Would it be possible to update the import to:
import { DOCUMENT } from '@angular/common';
or provide a fix so the library is fully compatible with Angular 16+?
Thanks in advance for looking into this!
nalincb, nfMalde, yehiasalam, jlewe-ucla, nstaszak and 3 more