Add installation script for minifiers

This commit is contained in:
Christoph Hagen 2022-09-08 13:01:45 +02:00
parent abd42e4909
commit 1405fa5ee7

13
install.sh Executable file
View File

@ -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