generate functionThu, 02 Mar 2023
use different config.assets.css_compressor for one css file
def css_compressor(css_file) css_file[:processor] = SassCompressor if css_file[:path].start_with?("/assets/stylesheets/sass") end assets.css_compressor = css_compressor
Ruby
Generate More