minify-maven-plugin icon indicating copy to clipboard operation
minify-maven-plugin copied to clipboard

multiple target folder for minified css and js files

Open leosignking opened this issue 8 years ago • 1 comments

I am working on a project where I need to minify multiple js and css files and copy to different directories. How do I achieve it? I used "cssTargetDir" but all the minified will be moved to one directory instead, I need the minified to copy to different folders.

src/main/resources/static/css/1.css src/main/resources/static/css/2.css

src/main/resources/static/js/1.js src/main/resources/static/js/2.js

Final out directory

target/web-resources/assets/js/1/1.min.js target/web-resources/assets/js/2/2.min.js

leosignking avatar Jan 13 '17 22:01 leosignking

any idea on this?

ehimsi avatar Oct 11 '17 09:10 ehimsi