Interface GoogleClosureMinimizerOptionsProvider
-
public interface GoogleClosureMinimizerOptionsProvider
Provide CompilerOptions for the GoogleClosureMinimizer. TAP5-2661- Since:
- 5.7
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Optional<com.google.javascript.jscomp.CompilerOptions>
providerOptions(StreamableResource resource)
Returns the compiler options to be used by GoogleClosureMinimizer.
-
-
-
Method Detail
-
providerOptions
java.util.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
-
-