trullock / NUglify

NUglify is a HTML, JavaScript and CSS minification Library for .NET (fork of AjaxMin + new features)
Other
396 stars 79 forks source link

Missing CSS optimizations #313

Closed SpeednetGroup closed 2 years ago

SpeednetGroup commented 2 years ago

I recently switched from using a home-grown CSS compressor to NUglify and noticed that the minified file size was larger using NUglify.

I then compared the output produced by each and came up with a number of missing CSS optimizations in NUglify.

There might be some others, but this is what I came up with in a first pass.

trullock commented 2 years ago

Ok these are great thanks

Can you break them down into separate issues?

Thanks

SpeednetGroup commented 2 years ago

I'd be happy to -- but just want to be sure that you want a separate issue for each bullet point above. i.e., create a separate issue for "space before !important", etc.

trullock commented 2 years ago

Yes please

SpeednetGroup commented 2 years ago

OK, no problem, will do this a bit later.

SpeednetGroup commented 2 years ago

Closed because each point was separated into its own issue.