I know this sounds odd, but I have the docpad cleancss plugin installed properly. As in it is in my package.json etc and I followed the README.
My docpad.coffee config is:
docpadConfig = {
plugins:
cleancss:
# These are options passed to the clean-css dependency
cleancssOpts:
# * for keeping all (default), 1 for keeping first one only, 0 for removing all
keepSpecialComments: '0'
# Whether to keep line breaks
keepBreaks: false
# Turns on benchmarking mode measuring time spent on cleaning up.
benchmark: false
# Whether to process @import rules.
processImport: true
# Set to false to skip URL rebasing
rebase: true
# Set to false to disable advanced optimizations
advanced: false
# Set to true to get minification statistics under stats property
debug: false
# Disabled on development environments by default.
environments:
development:
enabled: true
}
I know this sounds odd, but I have the docpad cleancss plugin installed properly. As in it is in my package.json etc and I followed the README.
My docpad.coffee config is:
My css files are in src/static/css
Any pointers?