ignore directory
- Dominant language
- JavaScript
- Stars
- 5k
- Forks
- 577
- PR merge metrics
- No merged PRs in 30d
Description
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``
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the supplied html-minifier command with ./static as --input-dir and ./static/libs as the directory to exclude. Trace how --input-dir processes subdirectories, then confirm that files under the excluded directory remain unchanged while other HTML files are minified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100