cssnano
- Version 8.0.9
- Published
- 9.81 kB
- 2 dependencies
- MIT license
Install
npm i cssnanoyarn add cssnanopnpm add cssnanoOverview
A modular CSS minifier, built on top of the PostCSS ecosystem.
Index
Functions
function cssnanoPlugin
cssnanoPlugin: typeof cssnanoPlugin;{import('postcss').PluginCreator}
Parameter options
{import('postcss').Processor}
Type Aliases
type Options
type Options = { preset?: PresetSpec; plugins?: PluginSpec[]; configFile?: string;};type PluginCreator
type PluginCreator = import('postcss').PluginCreator<any>;type PluginOptions
type PluginOptions = | boolean | { exclude?: boolean; } | void | undefined;type PluginSpec
type PluginSpec = string | PluginCreator | [string | PluginCreator, object?];type PresetFactory
type PresetFactory = (options?: any) => { plugins: PresetPlugin[];};type PresetPlugin
type PresetPlugin = [PluginCreator, PluginOptions];type PresetSpec
type PresetSpec = | string | PresetFactory | [string | PresetFactory, object] | { plugins: PresetPlugin[]; };Package Files (1)
Dependencies (2)
Dev Dependencies (5)
Peer Dependencies (1)
Badge
To add a badge like this oneto your package's README, use the codes available below.
You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/cssnano.
- Markdown[](https://www.jsdocs.io/package/cssnano)
- HTML<a href="https://www.jsdocs.io/package/cssnano"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>
- Updated .
Package analyzed in 2369 ms. - Missing or incorrect documentation? Open an issue for this package.
