Closed i-arindam closed 11 years ago
First, thanks for the feedback.This has come up before but I don't think it's going to be in the scope of csscss.
FIrstly, you need to collect data from multiple pages to know what is all being used.
Secondly, you need to execute javascript because some classes only come from user interaction.
I think the scope of csscss will be simply source code analysis.
may I suggest: https://github.com/geuis/helium-css (I haven't tried it yet, but I thought of this issue when I saw the project)
@Melindrea Thank you. Looks good at first glance. Will definitely try it when I have some time.
IT will be a great add-on to be able to specify an HTML and a CSS, and allow the script to tell which bits of CSS are unused in that HTML.
Of course it cannot handle partials in rails, or other framework specific use-cases.
But one can still live with the entire source of the result file and the included CSS file/files