3
0
Fork 0
forked from mirrors/nixpkgs

discourse: Use terser when building assets

Discourse prefers to use `terser` when building js assets, see
https://github.com/discourse/discourse/pull/12656. It still wants to
find `uglify-js` in order to not fall back to a ruby js compression
library, so let's keep it around for now. A fix for this has been
submitted upstream in
https://github.com/discourse/discourse/pull/13683.
This commit is contained in:
talyz 2021-07-09 16:35:35 +02:00
parent a2dbc3af1d
commit 61f4429fbd
No known key found for this signature in database
GPG key ID: 2DED2151F4671A2B

View file

@ -150,6 +150,7 @@ let
brotli
procps
nodePackages.uglify-js
nodePackages.terser
];
patches = [