CHGenerator/install.sh
2022-12-01 15:19:41 +01:00

17 lines
440 B
Bash
Executable File

#!/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
# Required to optimize jpg/png/svg
npm install imageoptim-cli -g