Leanify icon indicating copy to clipboard operation
Leanify copied to clipboard

How can I restrict specific files or file types from being optimized?

Open K0-RR opened this issue 2 years ago • 2 comments

I want to prevent Leanify from minimizing XML files - I prefer readability - and whatever it's doing to binary jar files. Screenshot from 2021-09-03 17-08-23

K0-RR avatar Sep 03 '21 15:09 K0-RR

Not currently possible, I'm open to suggestions on how such a feature should be implemented.

JayXon avatar Sep 04 '21 08:09 JayXon

Not sure if you are asking for a command syntax or rather about the code needed for this.

Example:

  • leanify --parallel --no-type "jpg xml json"
  • leanify --fastmode --only-type 'jpg jpeg'

K0-RR avatar Sep 04 '21 09:09 K0-RR