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:
parent
a2dbc3af1d
commit
61f4429fbd
|
@ -150,6 +150,7 @@ let
|
|||
brotli
|
||||
procps
|
||||
nodePackages.uglify-js
|
||||
nodePackages.terser
|
||||
];
|
||||
|
||||
patches = [
|
||||
|
|
Loading…
Reference in a new issue