jasonm / ngmin-rails

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

Don't require rails #9

Closed ejholmes closed 10 years ago

ejholmes commented 10 years ago

I'm using this with middleman to build an angular app, and I'd rather not include rails in my dependency graph:

# config.rb

require 'ngmin/processor'
::Sprockets.register_postprocessor 'application/javascript', Ngmin::Processor
fabrik42 commented 10 years ago

Any updates on this?

bhollis commented 10 years ago

I've published https://github.com/bhollis/middleman-ngmin based on the ngmin-rails source for Middleman users, without a Rails dependencies.

fabrik42 commented 10 years ago

Thanks, good to know!