[ https://issues.apache.org/jira/browse/TAP5-2304?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Howard M. Lewis Ship closed TAP5-2304. -------------------------------------- Resolution: Fixed Fix Version/s: 5.4 > Define a IoC symbol for setting the Google Closure Compiler compilation level > ----------------------------------------------------------------------------- > > Key: TAP5-2304 > URL: https://issues.apache.org/jira/browse/TAP5-2304 > Project: Tapestry 5 > Issue Type: Improvement > Components: tapestry-webresources > Affects Versions: 5.4 > Reporter: Jochen Kemnade > Assignee: Howard M. Lewis Ship > Priority: Minor > Labels: configuration, javascript > Fix For: 5.4 > > > The org.apache.tapestry5.internal.webresources.GoogleClosureMinimizer uses > very conservative settings for JavaScript minimization, all the compiler > options are disabled by default. > To be able to change that behavior (e.g. to apply at least simple > optimizations (see > https://developers.google.com/closure/compiler/docs/compilation_levels)), you > have to create a new implementation of > org.apache.tapestry5.internal.webresources.AbstractMinimizer and override > Tapestry's default implementation. > It should be a matter of changing a symbol value or using a different > GoogleClosureMinimizer constructor (maybe one that takes an additional > CompilerOptions). -- This message was sent by Atlassian JIRA (v6.3.4#6332)