Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
docpad-plugin-cleancss
Advanced tools
Concatinate and minify CSS files with the cleancss: true
meta data.
docpad install cleancss
Create a CSS file with the cleancss option:
---
cleancss: true
---
body {
background-color: black;
}
@import 'example.css';
The default configuration for this plugin is the equivalant of adding the following clean-css options to your DocPad configuration file:
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: '*'
# Whether to keep line breaks (default is false).
keepBreaks: false
# Turns on benchmarking mode measuring time spent on cleaning up.
benchmark: false
# Whether to process @import rules.
processImport: true
# Whether to skip URLs rebasing.
noRebase: false
# set to true to disable advanced optimizations.
noAdvanced: false
# Enables debug mode.
debug: false
# Disabled on development environments by default.
environments:
development:
enabled: false
Discover the change history by heading on over to the HISTORY.md
file.
Discover how you can contribute by heading on over to the CONTRIBUTING.md
file.
These amazing people are maintaining this project:
No sponsors yet! Will you be the first?
These amazing people have contributed code to this project:
Unless stated otherwise all works are:
and licensed under:
v2.1.0 2015 March 5
FAQs
Adds support to clean CSS in DocPad.
The npm package docpad-plugin-cleancss receives a total of 22 weekly downloads. As such, docpad-plugin-cleancss popularity was classified as not popular.
We found that docpad-plugin-cleancss demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.