How to automate JavaScript files compression with YUI Compressor?

后端 未结 6 1962
死守一世寂寞
死守一世寂寞 2020-12-13 21:42

YUI Compressor does not accept wildcard parameters, so I cannot run it like this:

C:>java -jar yuicompressor.jar *.js

But I have over

6条回答
  •  醉话见心
    2020-12-13 22:07

    If you are geared towards Java, you can also use Ant for conversion. I've found a blog entry about an Ant Taks for the YUI Compressor. Disclaimer: Never tried it - sorry

提交回复
热议问题