-
-
Notifications
You must be signed in to change notification settings - Fork 139
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
Use peer dependency for Luxon #355
Comments
Hey I had issue to make it as dependency. I'm afraid if I change it back there will be more issues ) |
Thanks for a quick reply :-) I'm pretty sure there wouldn't be any issues (I've been using it for some time for several of my packages). It would be the same thing as Angular itself does with rxjs. What you would do is:
Npm will tell people automatically to install peer dependencies when running Btw: thank you for maintaining the library. We've tried probably all time selector for Angular and this one is the best we found. |
@Enngage Thanks for explanation. Definitely will do it soon. |
Any chance you can look at this? It should be really easy to implement - just move it to |
Still nothing? This is an easy fix that takes about 1 minute to implement and saves 60KB for all users using your library in combination with luxon which is the best alternative for moment at this time... |
There is probably no point in waiting anymore since fix that takes 1 minute to implement is here from last July. We are moving away from this library and instead created our own time picker. Gl anyways. |
Would be great. Could shrink my app with a few kb. |
Done. Pls update to the latest version. Sorry for being so long |
Hey there!
Could you please make
Luxon
aPeer dependency
? Since you have it listed as dependency it is shipped with your library and if the project is also using Luxon, it will result in code duplication and +60KB because multiple Luxon libraries can be included.Using Peer dependencies will mitigate this problem completely.
The text was updated successfully, but these errors were encountered: