I've successfully setup my YUI Compressor JS. But it doesn't works like I would like it to.
I would like it to minify an entire directory every time a file in that directory gets changed.
So far I've made a scope with the directory, but the compressor only works on the file I have changed (in the scope), and not on the entire directory. So it only minify's that one file, and not the entire directory.
答案 0 :(得分:0)
我通过使用gulp并相应地设置它来解决这个问题。我所要做的就是喝一口气,一切正常。