jasonm / ngmin-rails

DEPRECATED [Was: Use ngmin in the Rails asset pipeline.]
MIT License
42 stars 13 forks source link

Depend on railties gem rather than rails gem #10

Closed mjtko closed 10 years ago

mjtko commented 10 years ago

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.

bhollis commented 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.

jasonm commented 10 years ago

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.