html-minifier icon indicating copy to clipboard operation
html-minifier copied to clipboard

ignore directory

Open mihaiav opened this issue 1 year ago • 0 comments

How can you ignore a subdirectory from minifying ? I have a ./static/libs directory that I wold like html-minifier to ignore when it processes the --input-dir

html-minifier --file-ext html --input-dir ./static --output-dir ./static --collapse-whitespace --remove-comments --remove-redundant-attributes --remove-script-type-attributes --remove-tag-whitespace --minify-css true --minify-js true

mihaiav avatar Aug 03 '22 17:08 mihaiav