Configuration and list of available settings for Pipedash
You specify your packages (a collection of resources) in your settings.
The basic syntax for specifying packages is
PIPEDASH_PACKAGES = {
'js:index': {
'path': 'js/main.js',
'attrs': {
'async': 'async',
},
'files': [
'js/foo.js',
'js/bar.js',
],
},
'css:index': {
'path': 'css/main.css',
'attrs': {
'media': 'screen',
},
'files': [
'css/red.css',
'css/blue.css',
'css/green.less',
]
}
}
For convenience you can namespace your javascript and css resources with the css: and js: prefix
Required
Is the filename/path of the final concatenated resource
Required
Is a tuple of the resources files to be compiled, compressed and concatenated. The files are concatenated in the order specified in the list.
Optional
Is a dictionary of values to be converted to key=value attributes and added to the outputted html. Usefull for {'media': 'all'} on css and {'async': 'async'} on javascript files
True if pipedash should concatenate all the compiled and compressed resources, False if not.
Defaults to not settings.DEBUG.
A tuple of compiler processes to be run against all the resources specified in PIPEDASH_PACKAGES
These processors run before any processes listed in PIPEDASH_COMPRESSORS
If empty or None, no compilers will run.
Defaults to an empty tuple ().
A tuple of compressor processes to be run against all the resources specified in PIPEDASH_PACKAGES
These processors run after any processes listed in PIPEDASH_COMPILERS
If empty or None, no compressors will run.
Defaults to an empty tuple ().