-
Notifications
You must be signed in to change notification settings - Fork 150
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
Isn't there ngmin for that? #1
Comments
Not the same, see https://groups.google.com/forum/#!topic/angular/X6JxHWGGoZk |
@olov A I see, so why not making |
@PascalPrecht the patch for that would be larger than the entire ng-annotate-main.js, and would turn ngmin into exactly ng-annotate. It's a different program with different goals, different analysis phase and different transformation phase. |
But wouldn't it be great if one tool can take care of all these scenarios IMO it'd be cool if one module is able to solve these things rather than On Thu, Sep 5, 2013 at 2:24 PM, Olov Lassus notifications@github.comwrote:
/pp |
Just for my understanding: What feature of ngmin do you like but don't find in ng-annotate? So far I know of only one apart from missing grunt plugin (coming), namely that ngmin tracks module name assignments - and I think that the alternative approach that I implemented in ng-annotate is mostly better and easier to understand. @btford I'd love to hear your thoughts on this (and props for ngmin by the way, I know that many are very happy with it). @PascalPrecht do you propose to merge something other than the name, which would mean one tool completely replacing the other? |
(if so, I should probably mention that "ngmin" isn't a very descriptive name for what the ng-annotate tool/lib does) |
+1; If you have issues with my tool, we should discuss them. :) |
I'll offer an agreement here as well. @olov , I'm glad you put in effort to solve this problem in an elegant way, and that you chose to share it with the community. These tools make en enormous difference in the maintainability and beauty of an angular codebase. Props to both you and @btford ! With that gratitude in mind, it truly is a better service to the community to contribute to existing tools, especially given how extremely close their use cases are - even if your contribution is almost a total rewrite. Both of you have made something awesome - I hope you're even better working together! |
I also agree that maybe people should try merging efforts on this, but I also agree with @olov on that the ng-annotate name is just more descriptive. ngmin doesn't actually min(ify) so it's a bit confusing. Also, I see @btford is extremely busy with lots of projects, and probably made ngmin because it needed to be made. In that case, and assuming ng-annotate doesn't have any obvious flaws, maybe it's a good idea to simply redirect the community to use ng-annotate instead? |
Good job @olov ! |
@PascalPrecht @btford @skuester @alexandrosm @iskuhar |
https://github.com/btford/ngmin
The text was updated successfully, but these errors were encountered: