Skip to content

Instantly share code, notes, and snippets.

@monicao
Created May 12, 2013 23:10
Show Gist options
  • Save monicao/5565307 to your computer and use it in GitHub Desktop.
Save monicao/5565307 to your computer and use it in GitHub Desktop.
Angular minification settings for the asset pipeline
TestApp::Application.configure do
# Settings specified here will take precedence over those in config/application.rb
# The production environment is meant for finished, "live" apps.
# Code is not reloaded between requests
config.cache_classes = true
config.assets.digest = true
config.assets.compile = false
config.assets.compress = true
config.assets.js_compressor = :uglifier
# ...
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment