Closed mjtko closed 10 years ago
+1 - I'm building a Middleman extension that wraps ngmin-rails
just to get at the Sprockets processor and bundled ngmin, and I don't need any of that Rails stuff.
Thanks for the comments @mjtko and @bhollis. Sorry for the delay in response.
Looks like Ben's extension can be found here: https://github.com/bhollis/middleman-ngmin
I've stopped using Angular and haven't updated this project in a long time, so I'm deprecating it. I'd take a look at using ngannotate-rails instead, which makes use of ng-annotate which possibly supercedes ngmin.
This change allows Rails projects that depend on individual components of Rails to make use of ngmin-rails without being forced to depend on components they don't want.