middleman/fixtures/passthrough-app/config.rb

17 lines
297 B
Ruby
Raw Normal View History

2011-12-12 23:20:20 +01:00
module ::PassThrough
def self.compress(data)
data
end
end
2011-12-12 23:20:20 +01:00
set :js_compressor, ::PassThrough
set :css_compressor, ::PassThrough
activate :minify_javascript
activate :minify_css
with_layout false do
page "/inline-css.html"
page "/inline-js.html"
page "/inline-coffeescript.html"
end