Skip to content

Commit 863dd94

Browse files
committed
:uglify -> :uglifier
1 parent 72034a6 commit 863dd94

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ Invokes block with environment when the environment is initialized. Allows direc
105105

106106
``` ruby
107107
config.assets.configure do |env|
108-
env.js_compressor = :uglify # or :closure, :yui
108+
env.js_compressor = :uglifier # or :closure, :yui
109109
env.css_compressor = :sass # or :yui
110110

111111
require 'my_processor'
@@ -132,7 +132,7 @@ The following plugins provide some extras for the Sprockets Asset Pipeline.
132132

133133
* Only compiles digest filenames. Static non-digest assets should simply live in public/.
134134
* Unmanaged asset paths and urls fallback to linking to public/. This should make it easier to work with both compiled assets and simple static assets. As a side effect, there will never be any "asset not precompiled errors" when linking to missing assets. They will just link to a public file which may or may not exist.
135-
* JS and CSS compressors must be explicitly set. Magic detection has been removed to avoid loading compressors in environments where you want to avoid loading any of the asset libraries. Assign `config.assets.js_compressor = :uglify` or `config.assets.css_compressor = :sass` for the standard compressors.
135+
* JS and CSS compressors must be explicitly set. Magic detection has been removed to avoid loading compressors in environments where you want to avoid loading any of the asset libraries. Assign `config.assets.js_compressor = :uglifier` or `config.assets.css_compressor = :sass` for the standard compressors.
136136
* The manifest file is now in a JSON format. Since it lives in public/ by default, the initial filename is also randomized to obfuscate public access to the resource.
137137
* Two cleanup tasks. `rake assets:clean` is now a safe cleanup that only removes older assets that are no longer used. While `rake assets:clobber` nukes the entire `public/assets` directory and clears your filesystem cache. The clean task allows for rolling deploys that may still be linking to an old asset while the new assets are being built.
138138

0 commit comments

Comments
 (0)