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