Skip to content

Instantly share code, notes, and snippets.

@edudepetris
Created March 13, 2014 15:44
Show Gist options
  • Save edudepetris/9530896 to your computer and use it in GitHub Desktop.
Save edudepetris/9530896 to your computer and use it in GitHub Desktop.
Config middleman
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