cssnano-cli
Version:
A CLI for modular minifier cssnano.
29 lines (20 loc) • 1.35 kB
Plain Text
Usage: cssnano [input] [output] {OPTIONS}
Options:
--sourcemap, -s Generate a sourcemap within the minified output.
--no-[featureName] Disable any individual processor module by its name.
[featureName] can be any one of these:
autoprefixer filterOptimiser normalizeUrl
calc filterPlugins orderedValues
colormin functionOptimiser reduceIdents
convertValues mergeIdents reduceTransforms
core mergeLonghand singleCharset
discardComments mergeRules styleCache
discardDuplicates minifyFontValues svgo
discardEmpty minifyParams uniqueSelectors
discardUnused minifySelectors zindex
--safe Disable advanced optimisations that are not always safe.
Currently, this disables custom identifier reduction,
z-index rebasing, unused at-rule removal & conversion
between absolute length values.
--version, -v Outputs the version number.
--help, -h Outputs this help screen.