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