public interface SpincastJsClosureCompilerConfig
| Modifier and Type | Method and Description |
|---|---|
String |
getJsBundlePebbleFunctionName()
The name of the provided Pebble function to
bundle multiple .js files.
|
File |
getJsBundlesDir()
The directory where the generated js bundles
will be saved by the Pebble "jsBundle()" function.
|
String |
getJsBundlesUrlPath()
The relative url path to serve js files
bundled using the Pebble "jsBundle()" function.
|
boolean |
isJsBundlesDisabled()
Is bundling disabled?
|
boolean |
isJsBundlesIgnoreSslCertificateErrors()
When creating a JS bundle using the Pebble "jsBundle()" function,
should we ignore SSL certificate errors such as errors
for self-signed certificates when performing the requests to
retrieve the Javascript files?
|
String getJsBundlePebbleFunctionName()
Defaults to "jsBundle".
String getJsBundlesUrlPath()
Defaults to "/spincast/plugins/jsclosurecompiler/jsbundles".
File getJsBundlesDir()
Defaults to "[WRITABLE_DIR]/spincast/plugins/jsclosurecompiler/jsBundles".
where "[WRITABLE_DIR]" is SpincastConfig.getWritableRootDir().
boolean isJsBundlesIgnoreSslCertificateErrors()
By default, return true if SpincastConfig.isDevelopmentMode()
or SpincastConfig.isTestingMode() are true.
boolean isJsBundlesDisabled()
This is useful during development when you want changes to the JS files to be reflected and not be cached.
By default, return true if SpincastConfig.isDevelopmentMode()
is true.
Copyright © 2019. All rights reserved.