generate functionThu, 02 Mar 2023

do no remove comments from css file on rails 6 assets:precompile

# config/initializers/assets.rb Rails.application.config.assets.configure do |env| env.js_compressor = Uglifier.new(harmony: true) # env.css_compressor = :sass end

Questions about programming?Chat with your personal AI assistant