Optimizers for CSS, in a PHP environment with NodeJS backend?

17 views
Skip to first unread message

Kevin Ingwersen (Ingwie Phoenix)

unread,
May 7, 2015, 10:24:30 PM5/7/15
to nod...@googlegroups.com
Hey.

I am working with WebPack and have written a successful NodeJS<->PHP bridge. Using WebPack, I prepare my assets for the web. By now, I am very well served with my javaScript. Still looking to get it a hundred KB (uglyfied). It currently, due to jQuery, stands at 178 kb.

But my CSS on the other hand is a bottleneck… With 192 kb (clean-css), this seems highly unoptimized, especially since I am already exclusing Bootstrap components, by customly including only the components I want using my custom SCSS file[1].

A while ago I read about UnCSS. However, this only works on HTML files and NOT on PHP files! So I am looking for an optimizer to feed all my PHP views into and get a slimmer CSS out of.

Anyone having an idea?

Kind regards,
Ingwie

Reply all
Reply to author
Forward
0 new messages