Interface SpincastCssYuiCompressorConfig
- All Known Implementing Classes:
SpincastCssYuiCompressorConfigDefault
public interface SpincastCssYuiCompressorConfig
Spincast CSS YUI Compressor plugin configurations.
-
Method Summary
Modifier and TypeMethodDescriptionThe name of the provided Pebble function to bundle multiple .css files.The directory where the generated css bundles will be saved by the Pebble "cssBundle()" function.The relative url path to serve css files bundled using the Pebble "cssBundle()" function.boolean
Is bundling disabled?boolean
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?
-
Method Details
-
getCssBundlePebbleFunctionName
String getCssBundlePebbleFunctionName()The name of the provided Pebble function to bundle multiple .css files.Defaults to "cssBundle".
-
getCssBundlesUrlPath
String getCssBundlesUrlPath()The relative url path to serve css files bundled using the Pebble "cssBundle()" function.Defaults to "
/spincast/plugins/cssyuicompressor/cssbundles
". -
getCssBundlesDir
File getCssBundlesDir()The directory where the generated css bundles will be saved by the Pebble "cssBundle()" function.Defaults to "
[WRITABLE_DIR]/spincast/plugins/cssyuicompressor/cssBundles
". where "[WRITABLE_DIR]
" isSpincastConfig.getWritableRootDir()
. -
isCssBundlesIgnoreSslCertificateErrors
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?By default, return
true
ifSpincastConfig.isDevelopmentMode()
orSpincastConfig.isTestingMode()
aretrue
. -
isCssBundlesDisabled
boolean isCssBundlesDisabled()Is bundling disabled?This is useful during development when you want changes to the CSS files to be reflected and not be cached.
By default, return
true
ifSpincastConfig.isDevelopmentMode()
istrue
.
-