PurgeCSSPurgeCSS
API Reference
GitHub
API Reference
GitHub
  • PurgeCSS

    • About PurgeCSS
    • Getting Started
    • Configuration
    • Command Line Interface
    • Programmatic API
    • Safelisting
    • Extractors
  • Plugins

    • PostCSS
    • Webpack
    • Gulp
    • Grunt
    • Gatsby
  • Guides

    • Vue
    • React
    • Next.js
    • Nuxt.js
    • Razzle
    • WordPress
    • Hugo
  • Comparison
  • Common Questions

    • How to use with CSS modules
    • How to use with Ant Design

Home

API Reference

Packages

Package

Description

@fullhuman/postcss-purgecss

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.

@fullhuman/purgecss-from-jsx

@fullhuman/purgecss-from-tsx

gulp-purgecss

purgecss

Core package of PurgeCSS

Contains the core methods to analyze the files, remove unused CSS.

purgecss-from-html

purgecss-from-pug

Pug extractor for PurgeCSS

A PurgeCSS extractor for PUG files that automatically generates a list of used CSS selectors. This extractor can be used with PurgeCSS to eliminate unused CSS and reduce the size of your production builds.

purgecss-webpack-plugin

rollup-plugin-purgecss

Edit this page