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.
Issue by leosignking Friday Jan 13, 2017 at 22:32 GMT Originally opened as https://github.com/samaxes/minify-maven-plugin/issues/136
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