I am interested in implementing uncss in the cli with npm packages (no gulp/grunt) to strip out reams of unused code from parent themes.
There is a tutorial from 2015 but there is an open issue and no updates so I don't want to waste my time trying a broken approach.
Does anyone currently implement this feature? I currently handle image compression, concatenation, minifying and others with npm packages and would like to add this ability.
The use case is a quick turnaround of premade themes that have a small amount of customisation and are highly optimised for speed.
The idea is to use the task on a parent theme, on any code not written by me. In the child theme dequeue the targeted parent themes stylesheets and enqueue the new lean resources.
I would love to hear your thoughts on this subject, I am keen to explore all opportunities for optimisation but would like something I can run off the command line with my other tasks.