Package org.apache.tapestry5.webresources

# Interface GoogleClosureMinimizerOptionsProvider

public interface GoogleClosureMinimizerOptionsProvider
Provide CompilerOptions for the GoogleClosureMinimizer. TAP5-2661

Since:
  5.7

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Optional<com.google.javascript.jscomp.CompilerOptions>`
  `providerOptions(StreamableResource resource)`
  Returns the compiler options to be used by GoogleClosureMinimizer.

- ## Method Details

  - ### providerOptions

    Optional<com.google.javascript.jscomp.CompilerOptions> providerOptions(StreamableResource resource)
    Returns the compiler options to be used by GoogleClosureMinimizer. An empty Optional will result is the StreamableResource to be not minimized.
    Returns:
      Optional of the supposed compiler options, or empty to disable minimizer