File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ in `production.rb` - `config.assets.css_compressor` for your CSS and
46
46
47
47
``` ruby
48
48
config.assets.css_compressor = :yui
49
- config.assets.js_compressor = :uglifier
49
+ config.assets.js_compressor = :terser
50
50
```
51
51
52
52
NOTE: The ` sassc-rails ` gem is automatically used for CSS compression if included
@@ -1042,8 +1042,8 @@ config.assets.css_compressor = :sass
1042
1042
1043
1043
### JavaScript Compression
1044
1044
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
1047
1047
` yui-compressor ` gems, respectively.
1048
1048
1049
1049
Take the ` terser ` gem, for example.
You can’t perform that action at this time.
0 commit comments