lib/middleman-ganbaruzoi/template/shared/config.rb in middleman-ganbaruzoi-0.0.4 vs lib/middleman-ganbaruzoi/template/shared/config.rb in middleman-ganbaruzoi-0.0.5

- old
+ new

@@ -32,15 +32,16 @@ ### # Automatic image dimensions on image_tag helper activate :automatic_image_sizes +# Autoprefixer +activate :autoprefixer, browsers: ['last 2 version', 'ie 8', 'ie 9'] + # Reload the browser automatically whenever files change configure :development do activate :livereload - - activate :autoprefixer, browsers: ['last 2 version', 'ie 8', 'ie 9'] end # Methods defined in the helpers block are available in templates # helpers do # def some_helper @@ -60,12 +61,10 @@ set :images_dir, 'img' set :fonts_dir, 'font' # Build-specific configuration configure :build do - activate :autoprefixer, browsers: ['last 2 version', 'ie 8', 'ie 9'] - # For example, change the Compass output style for deployment activate :minify_css # Minify Javascript on build activate :minify_javascript @@ -77,10 +76,10 @@ activate :relative_assets set :relative_links, true # Or use a different image path # set :http_prefix, "/Content/images/" -end + # Deploy activate :deploy do |deploy| deploy.build_before = true deploy.method = :git \ No newline at end of file