Re:What CSS minifiers also leave behind
by diamondo25 on Wednesday April 05, 2017 @10:40AM
(#14042389)
Stripping out comments would be one, but eventually remove all useless code and optimizing it using tools like Google Closure Compiler is way more effective in most websites that use a single bundle for everything.
[ Parent
| on HN ]
Re:What CSS minifiers also leave behind
by ricardobeat on Wednesday April 05, 2017 @10:50AM
(#14042462)
When the subject is CSS, dead code removal is a way more complex problem, and only possible if your usage falls within certain constraints. Best bet is a component system with scopes styles that ensures you are only loading what is required.