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

Append new line to scripts before merge

Open woodgoblin opened this issue 9 years ago • 6 comments

I have some third-party scripts, loaded via bower, that I'd not rather touch. The problem is that some of'em are ended with commented lines. So merge gives an erroneous script as a result. It will be great to have a option to append new line after each script as part of a merge.

woodgoblin avatar Jul 01 '15 14:07 woodgoblin

having this problem as well. +1. Especially a problem if your javascript files are generated and have source maps because the last line of the file reads //# sourceMappingURL=***

nedjs avatar Sep 08 '15 17:09 nedjs

Same problem, IMO fixing this bug should be high priority.

fbastian avatar Dec 20 '15 00:12 fbastian

I am facing the same problem. Please fix this. Thanks

rimal avatar Jul 04 '16 16:07 rimal

Delaying this to next release. Fixing #98 may also fix this issue as we may skip the merge step altogether.

samaxes avatar Oct 26 '16 23:10 samaxes

+1 looking for this fix as well.

Any idea when the next release is going to be? Looking to use this plugin, but this is preventing me from having working minified javascript.

kpyfan avatar Apr 25 '17 17:04 kpyfan

+1

mlhummon avatar Jun 15 '17 13:06 mlhummon