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

Consider adding a minify mode in CssPrinter #22

Open
alextekartik opened this issue Dec 12, 2015 · 0 comments
Open

Consider adding a minify mode in CssPrinter #22

alextekartik opened this issue Dec 12, 2015 · 0 comments
Labels
contributions-welcome Contributions welcome to help resolve this (the resolution is expected to be clear from the issue) type-enhancement A request for a change that isn't a bug

Comments

@alextekartik
Copy link

Currently the non pretty print output could be minify a little bit more

body { color: black; } div { }

could be compiled to

body{color:#000}

However currently it is compiled to

body { color: black; } div { }

Some optimizations

If a minify option (or a new printer) is added it would have the following option

  • minify: true|false
  • line-length-max: NNN (where NNN is the maximum size of a line)
@devoncarew devoncarew added contributions-welcome Contributions welcome to help resolve this (the resolution is expected to be clear from the issue) type-enhancement A request for a change that isn't a bug labels Jan 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contributions-welcome Contributions welcome to help resolve this (the resolution is expected to be clear from the issue) type-enhancement A request for a change that isn't a bug
Projects
None yet
Development

No branches or pull requests

2 participants