ngx-scrolltop icon indicating copy to clipboard operation
ngx-scrolltop copied to clipboard

Support standalone component to decrease my bundle size

Open Celtian opened this issue 2 years ago • 2 comments

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

Celtian avatar Nov 17 '23 11:11 Celtian

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! ;)

bartholomej avatar Dec 12 '23 08:12 bartholomej

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 :)

bartholomej avatar Dec 13 '23 22:12 bartholomej