QUESTION:
I installed uglify-js
globally and I installed html-minifier
.
Minification of HTML works fine but when I add --minifyJS
to minify javascript as well, it fails with the following error:
error: unknown option `--minifyJS'
What have I done wrong ?
CODE:
html-minifier --input-dir ./viewsCopy --output-dir ./views-minified --collapse-whitespace --html5 --minifyJS=true
REFERENCE:
https://www.npmjs.com/package/html-minifier
via Coder1000
No comments:
Post a Comment