Support standalone component to decrease my bundle size
Is your feature request related to a problem? Please describe.
NgxScrollTopModule is increasing my bundle size for no reason. I just want to use NgxScrollTopDirective without importing NgxScrollTopComponent.
Describe the solution you'd like
Please make NgxScrollTopDirective & NgxScrollTopComponent standalone... NgxScrollTopModule can be still available (Same like CommonModule in @angular/core)
Describe alternatives you've considered None
Additional context None
Hi @Celtian ,
Here you go:) Just try version 7 beta and let me know.
yarn add ngx-scrolltop@beta
If all goes well, I'll release a stable major version. Thanks! ;)
This is the new pre-release of ngx-scrolltop 17.0.0-next.0. (Yes I want to skip 10 major versions now 😀)
yarn add ngx-scrolltop@next
Setup instructions for standalone components are here and it's easy :)