Skip to content

Commit 0d8f657

Browse files
Add terser as option to JavaScript compressors list
Closes rails#42589
1 parent 7c77698 commit 0d8f657

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

guides/source/asset_pipeline.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1064,8 +1064,8 @@ config.assets.css_compressor = :sass
10641064

10651065
### JavaScript Compression
10661066

1067-
Possible options for JavaScript compression are `:closure`, `:uglifier` and
1068-
`:yui`. These require the use of the `closure-compiler`, `uglifier` or
1067+
Possible options for JavaScript compression are `:terser`, `:closure`, `:uglifier` and
1068+
`:yui`. These require the use of the `terser`, `closure-compiler`, `uglifier` or
10691069
`yui-compressor` gems, respectively.
10701070

10711071
Take the `uglifier` gem, for example.

0 commit comments

Comments
 (0)