From 1405fa5ee7d4098bd3faa96c5b91b27515ac788b Mon Sep 17 00:00:00 2001 From: Christoph Hagen Date: Thu, 8 Sep 2022 13:01:45 +0200 Subject: [PATCH] Add installation script for minifiers --- install.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 install.sh diff --git a/install.sh b/install.sh new file mode 100755 index 0000000..337620b --- /dev/null +++ b/install.sh @@ -0,0 +1,13 @@ +#!/bin/bash +# Install the required dependencies for CHGenerator + +# Note: The following is only required if `minifyCSSandJS=True` +# is set in the generator configuration + +# Install the Javascript minifier +# https://github.com/mishoo/UglifyJS +npm install uglify-js -g + +# Install the clean-css minifier +# https://github.com/clean-css/clean-css-cli +npm install clean-css-cli -g