metalsmith-uncss-2
A Metalsmith plugin to run UnCSS stylesheet optimizer.
Installation
npm install --save metalsmith-uncss-2
JavaScript Usage
const Metalsmith = ;const uncss = ; ;
Options
html
(optional)
Type: string
Default: **/*.html
A minimatch glob pattern to find HTML files.
css
(optional)
Type: string
Default: **/*.css
A minimatch glob pattern to find CSS files.
output
(optional)
Type: string
Default: uncss.css
The output CSS filename.
uncss
(optional)
Type: object
Default:
An object of UnCSS options.
Example
const uncss = ;