Automate Eclipse “Yui Compressor…”

前端 未结 4 1226
既然无缘
既然无缘 2021-01-14 00:17

Eclipse PDT has this handy built-in Yui Compressor in the context menu for files. But when building a webapp that uses multiple such files,

4条回答
  •  时光取名叫无心
    2021-01-14 00:36

    You can also batch-minify using Node.js. However, this option is only for Linux users (for now).

    Every time some software package is horribly lacking a convenience (Eclipse) or a builder batch format is just crazy (ANT), someone clever comes along and creates something awesome.

    In this case,

    • node-minify

    which is awesome.

    Just thought I'd update this question and add the answer.

提交回复
热议问题