1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Add terser as option to JavaScript compressors list

Closes #42589
This commit is contained in:
Guillermo Iguaran 2021-06-27 11:22:36 -07:00 committed by GitHub
parent 7c77698263
commit 0d8f6575ab
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1064,8 +1064,8 @@ config.assets.css_compressor = :sass
### JavaScript Compression
Possible options for JavaScript compression are `:closure`, `:uglifier` and
`:yui`. These require the use of the `closure-compiler`, `uglifier` or
Possible options for JavaScript compression are `:terser`, `:closure`, `:uglifier` and
`:yui`. These require the use of the `terser`, `closure-compiler`, `uglifier` or
`yui-compressor` gems, respectively.
Take the `uglifier` gem, for example.