Maven plugin for versioning and minifying javascript

前端 未结 3 914
旧时难觅i
旧时难觅i 2021-01-30 03:15

Single Page Javascript Application

I have built a sophisticated ajax-driven single page webapp that uses a RESTful backend web service serving JSON. The javascript is

3条回答
  •  暖寄归人
    2021-01-30 03:43

    I've successfully incorporated RequireJS optimization (uses Google Closure compiler + does concatenation) in a Maven environment (for single page JS app). See my question and the follow up answer for details: RequireJS Compilation in Maven project with external JS dependencies

    You could probably expand on that to version and archive the minified JS artifacts.

提交回复
热议问题