generate functionThu, 02 Mar 2023

use different config.assets.css_compressor for one css file

register_compressor 'text/css', :yui, YUI::CssCompressor.new(YUI::CssCompressor::DEFAULT_OPTIONS.merge(:line_break => 80)) stylesheet_link_tag 'application.css', :compressor => :yui

Questions about programming?Chat with your personal AI assistant