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

Support multiple extensions on --file-ext

Open yumin-chen opened this issue 6 years ago • 6 comments

This pull request adds support for multiple extensions on --file-ext.

For example:

html-minifier --input-dir _site --output-dir _dist --file-ext html,htm,json,xml,yml,yaml

This can filter out all supported extensions html,htm,json,xml,yml,yaml in one go.

yumin-chen avatar May 14 '19 07:05 yumin-chen

Addresses issues: #896 feature request: allow multiple file-extensions in CLI

yumin-chen avatar May 14 '19 08:05 yumin-chen

@kangax very sorry to bother you again, but looks like Travis can't build PR branches from forked repositories 😅

https://travis-ci.com/kangax/html-minifier/requests

alexlamsl avatar May 14 '19 10:05 alexlamsl

@kangax so I think given all the recent hassle, it's best if we:

  • enable all webhooks for Travis CI
  • disable whatever "branch protection" settings on GitHub

... since it's better to have some progress than none at all.

alexlamsl avatar May 21 '19 04:05 alexlamsl

@kangax any luck?

alexlamsl avatar May 30 '19 02:05 alexlamsl

@alexlamsl sorry, been travelling. Wish I could just give you access to travis. I'll try to get to it today/tomorrow.

kangax avatar Jun 04 '19 14:06 kangax

@kangax @alexlamsl Any update?

yumin-chen avatar Aug 10 '19 19:08 yumin-chen