Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
K0-RR opened this issue Sep 3, 2021 · 2 comments
Open

Comments

@K0-RR
Copy link

K0-RR commented Sep 3, 2021

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

@JayXon
Copy link
Owner

JayXon commented Sep 4, 2021

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

@K0-RR
Copy link
Author

K0-RR commented Sep 4, 2021

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'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants