@fullhuman/postcss-purgecss
- Version 5.0.0
- Published
- 12.4 kB
- 1 dependency
- MIT license
Install
npm i @fullhuman/postcss-purgecss
yarn add @fullhuman/postcss-purgecss
pnpm add @fullhuman/postcss-purgecss
Overview
PostCSS Plugin for PurgeCSS
Most bundlers and frameworks to build websites are using PostCSS. The easiest way to configure PurgeCSS is with its PostCSS plugin.
Index
Variables
Interfaces
Variables
variable purgeCSSPlugin
const purgeCSSPlugin: postcss.PluginCreator<UserDefinedOptions>;
PostCSS Plugin for PurgeCSS
Parameter opts
PurgeCSS Options
Returns
the postCSS plugin
Modifiers
@public
Interfaces
interface UserDefinedOptions
interface UserDefinedOptions extends Omit<UserDefinedOptions_2, 'content' | 'css'> {}
See documentation for UserDefinedOptions from package purgecss.
property content
content?: UserDefinedOptions_2['content'];
property contentFunction
contentFunction?: (sourceFile: string) => Array<string | RawContent>;
Package Files (1)
Dependencies (1)
Dev Dependencies (1)
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/@fullhuman/postcss-purgecss
.
- Markdown[](https://www.jsdocs.io/package/@fullhuman/postcss-purgecss)
- HTML<a href="https://www.jsdocs.io/package/@fullhuman/postcss-purgecss"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>
- Updated .
Package analyzed in 2139 ms. - Missing or incorrect documentation? Open an issue for this package.