How do you automate Javascript minification for your Java web applications?

前端 未结 11 1974
广开言路
广开言路 2020-12-07 07:02

I\'m interested in hearing how you prefer to automate Javascript minification for your Java web apps. Here are a few aspects I\'m particularly interested in:

  • H
11条回答
  •  日久生厌
    2020-12-07 07:36

    Round-up post

    If you post something new in this thread, edit this post to link to yours.

    • Ant apply task (using YUI Compressor)
    • Custom YUI Compressor Ant task
    • Maven YUI Compressor plugin
    • Granule (for JSP, JSF, Grails, Ant)
    • Ant macros for Google Closure compiler
    • wro4j (Maven, servlet filters, plain Java, etc)
    • ant-yui-compressor (ant task for compressing JS+CSS)
    • JAWR
    • Minify Maven Plugin
    • humpty
    • Ant exec task using Terser

提交回复
热议问题