mirror of
https://github.com/medialab-prado/datamad2017.git
synced 2024-12-26 12:41:23 +01:00
19 lines
432 B
Ruby
19 lines
432 B
Ruby
|
require 'sass-media_query_combiner'
|
||
|
require 'autoprefixer-rails'
|
||
|
|
||
|
on_stylesheet_saved do |file|
|
||
|
css = File.read(file)
|
||
|
File.open(file, 'w') do |io|
|
||
|
io << AutoprefixerRails.process(css, browsers: ["last 2 version", "> 1%"])
|
||
|
end
|
||
|
end
|
||
|
|
||
|
http_path = "/"
|
||
|
css_dir = "../css"
|
||
|
sass_dir = "./"
|
||
|
images_dir = "../img"
|
||
|
javascripts_dir = "../js"
|
||
|
output_style = :expanded
|
||
|
relative_assets = true
|
||
|
line_comments = false
|
||
|
sourcemap = true
|