Install ruby-uglifier by entering the following commands in the terminal:
sudo apt update sudo apt install ruby-uglifier
Description:
Ruby wrapper for UglifyJS JavaScript compressor
ruby-uglifier is a wrapper for the UglifyJS JavaScript compressor, which is used by other packages (e.g., the Rails 3 and 4 asset pipelines) to compress Javascript files.
Homepage: http://github.com/lautis/uglifier
Version: 2.7.2+dfsg-2
Section: universe/ruby