Skip to content

Commit 039f5b4

Browse files
authored
Merge pull request rails#43623 from jcoyne/guide
Update the assets guide to remove uglifier
2 parents ae3e026 + fa98e8c commit 039f5b4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

guides/source/asset_pipeline.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ in `production.rb` - `config.assets.css_compressor` for your CSS and
4646

4747
```ruby
4848
config.assets.css_compressor = :yui
49-
config.assets.js_compressor = :uglifier
49+
config.assets.js_compressor = :terser
5050
```
5151

5252
NOTE: The `sassc-rails` gem is automatically used for CSS compression if included
@@ -1042,8 +1042,8 @@ config.assets.css_compressor = :sass
10421042

10431043
### JavaScript Compression
10441044

1045-
Possible options for JavaScript compression are `:terser`, `:closure`, `:uglifier` and
1046-
`:yui`. These require the use of the `terser`, `closure-compiler`, `uglifier` or
1045+
Possible options for JavaScript compression are `:terser`, `:closure` and
1046+
`:yui`. These require the use of the `terser`, `closure-compiler` or
10471047
`yui-compressor` gems, respectively.
10481048

10491049
Take the `terser` gem, for example.

0 commit comments

Comments
 (0)