How to minify JavaScript in Spring-MVC

I want to Minify all js file in my project

I am using spring-mvc, tiles and tomcat

Please give me the correct solution for how to properly implement this.

early

+3


source to share


1 answer


What version of spring are you using? Spring MVC 4.1 gives you support for minifying css and js out of the box. Check out the link for more information: https://spring.io/blog/2014/07/24/spring-framework-4-1-handling-static-web-resources



+5


source







All Articles