[
https://issues.apache.org/jira/browse/TOMAHAWK-1542?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Leonardo Uribe resolved TOMAHAWK-1542.
--------------------------------------
Fix Version/s: 1.1.10-SNAPSHOT
Resolution: Fixed
> Compress javascript files for production and show uncompressed versions when
> ProjectStage is not Production
> -----------------------------------------------------------------------------------------------------------
>
> Key: TOMAHAWK-1542
> URL: https://issues.apache.org/jira/browse/TOMAHAWK-1542
> Project: MyFaces Tomahawk
> Issue Type: Improvement
> Components: JSF2
> Affects Versions: 1.1.9
> Reporter: Leonardo Uribe
> Assignee: Leonardo Uribe
> Fix For: 1.1.10-SNAPSHOT
>
>
> It could be great to have the same hack we have on myfaces core 2.0.x for
> handle javascript code. It the application runs on development time, it is
> possible to see the source code of jsf.js, but if is production time the
> compressed version is served.
> I think we could do something similar on tomahawk, creating a wrapper that
> scans a directory like META-INF/uncompressed-resources first before the
> default location META-INF/resources. To do that, we need to move some parts
> of JSF 2.0 resource handler api to shared (MYFACES-2899).
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.