![]() |
|
|
|
|
Issue Type:
|
Improvement
|
|
Affects Versions:
|
1.0.1 |
|
Assignee:
|
Unassigned |
|
Created:
|
22/Jan/13 3:05 AM
|
|
Description:
|
There's an issue with the closure compiler when trying to minify version 1.4.3 of underscore.js
(see http://code.google.com/p/closure-compiler/issues/detail?id=718)
While I know that using the minified version provided by underscore is more optimal, I have a project setup where I only want to compress js when I am building a release. For development I prefer full versions of dependencies as well as my code.
v1.0.1 of webminifier uses r1810 of closure compiler while the issue with underscore was solved by r1947. The next version of closure compiler that works with webminifier seems to be r2180 (r2079 breaks) and from what I can see yanking the version up does not cause any problems (except breaking a test that expects a certain number of LOC after compression).
Workaround:
include
<dependencies>
<dependency>
<groupId>com.google._javascript_</groupId>
<artifactId>closure-compiler</artifactId>
<version>r2180</version>
</dependency>
</dependencies>
in the plugin declaration in the pom to override the default version.
|
|
Project:
|
Mojo Web Minifier Maven Plugin
|
|
Priority:
|
Trivial
|
|
Reporter:
|
Ivar Nilsen
|
|
|
|
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email