Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support standalone component to decrease my bundle size #85

Open
Celtian opened this issue Nov 17, 2023 · 2 comments
Open

Support standalone component to decrease my bundle size #85

Celtian opened this issue Nov 17, 2023 · 2 comments

Comments

@Celtian
Copy link

Celtian commented Nov 17, 2023

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

@bartholomej
Copy link
Owner

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
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants