tdreyno/middleman — Issue #192: Javascript minifier is not configurable
Author: bhollis
Created: 2011-12-11 02:55:58+00:00
State: open

From the source, it looks like I could set "js_compressor" to override the Uglifier settings or even use a different minifier.

However, doing this in my config.rb doesn't work:
```ruby
set :js_compressor, Uglifier.new(:beautify => true)
```

I notice in the "minify_javascript" extension that js_compressor is set on the "after_configuration" hook - is it overwriting my setting? I can also see that the InlineJavascriptRack middleware uses its own, hardcoded Uglifier instance and not the value of "js_compressor"

I suspect this limitation is also true of the CSS minifier.