Skip to content

Instantly share code, notes, and snippets.

@seanhandley
Created October 12, 2015 13:48
Show Gist options
  • Save seanhandley/e3f97d6bafc9634f93aa to your computer and use it in GitHub Desktop.
Save seanhandley/e3f97d6bafc9634f93aa to your computer and use it in GitHub Desktop.
Minify CSS and JS
Rails.application.configure do
# ...
# Compress JavaScripts and CSS.
config.assets.css_compressor = :sass
config.assets.js_compressor = :uglifier
# ...
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment