Closed hokaccha closed 10 years ago
Thanks for raising this issue. I've had a look at the code and the reason processing is so slow is because minification is happening at the map stage, for every file that is being compressed. If we do minification once at the end then you will see a big performance gain.
As for removing minification altogether, I feel that since Styledocco is a site generator, it should be able to handle minification itself, so I think we should keep that feature either as a command line option or as default.
So if you can modify your patch to put the minification after the map, that would be great.
I implemented minify option at #106, close this pull request.
When the file size of CSS and JavaScript is large, minify processes are very slow.
In my project: (142.17s)
applied this patch: (1.35s)