Maven Plugin - New line at start of javascript after using jsMin

32 views
Skip to first unread message

Damien Gallagher

unread,
May 20, 2015, 6:02:20 AM5/20/15
to wr...@googlegroups.com
Hi

I set my project up to use multiple multiple configurations in my maven pom file.
I encountered an issue where jsMin was adding a new line to the start of the merged javascript file when using it as a pre or post processor

I reverted back to a simple configuration and the same thing happened - even by creating a dummy javascript file with no new lines at the start and only minifying that file. That new line still exists

Any idea what I can do to solve this?

Thank you
Damien


Alex Objelean

unread,
May 20, 2015, 6:04:51 AM5/20/15
to wr...@googlegroups.com
Try a different processor. There are a dozen of processors. I would suggest using googleClosureSimple

Cheers,
Alex

--
You received this message because you are subscribed to the Google Groups "wro4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email to wro4j+un...@googlegroups.com.
To post to this group, send email to wr...@googlegroups.com.
Visit this group at http://groups.google.com/group/wro4j.
For more options, visit https://groups.google.com/d/optout.

Damien Gallagher

unread,
May 20, 2015, 6:22:16 AM5/20/15
to wr...@googlegroups.com
thanks Alex - that makes 100% sense and works well

Thank you
Reply all
Reply to author
Forward
0 new messages