Uploaded image for project: 'Tapestry 5'
  1. Tapestry 5
  2. TAP5-2304

Define a IoC symbol for setting the Google Closure Compiler compilation level

    Details

      Description

      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).

        Attachments

          Activity

            People

            • Assignee:
              hlship Howard M. Lewis Ship
              Reporter:
              jkemnade Jochen Kemnade
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: