davidB / yuicompressor-maven-plugin

maven's plugin to compress (Minify / Ofuscate / Aggregate) Javascript files and CSS files using YUI Compressor
http://davidb.github.io/yuicompressor-maven-plugin/
GNU Lesser General Public License v2.1
122 stars 48 forks source link

JS files not being compressed when nosuffix option is turned on #72

Closed jforjava1981 closed 10 years ago

jforjava1981 commented 10 years ago

Following is my yuicompressor plugin configuration. But js files are not compressed at all. when I make nosuffix false they are compressed with default min suffix. How to compress js files with nosuffix as true

net.alchim31.maven yuicompressor-maven-plugin 1.3.3 compress true false
davidB commented 10 years ago

Hi,

A common issue is the file is minified, but the maven war plugin override the minified with the original (same name). Can you check ?

see https://github.com/davidB/yuicompressor-maven-plugin/wiki/FAQ I saw other workaround on stackoverflow about this issue.

jforjava1981 commented 10 years ago

Thanks a lot David for quick response. It worked wonderfully well. Thanks a lot

On Sun, Jan 26, 2014 at 6:21 PM, David Bernard notifications@github.comwrote:

Hi,

A common issue is the file is minified, but the maven war plugin override the minified with the original (same name). Can you check ?

see https://github.com/davidB/yuicompressor-maven-plugin/wiki/FAQ I saw other workaround on stackoverflow about this issue.

— Reply to this email directly or view it on GitHubhttps://github.com/davidB/yuicompressor-maven-plugin/issues/72#issuecomment-33316052 .