Created
March 13, 2014 15:44
-
-
Save edudepetris/9530896 to your computer and use it in GitHub Desktop.
Config middleman
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'cordova' | |
after_configuration do | |
sprockets.append_path File.join root, 'bower_components' | |
end | |
activate :cordova | |
activate :automatic_image_sizes | |
activate :livereload | |
with_layout :plain do | |
page '/views' | |
end | |
configure :build do | |
ignore 'js/lib/*' | |
ignore 'css/lib/*' | |
activate :minify_css | |
activate :minify_javascript | |
activate :asset_hash | |
activate :relative_assets | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment