purgecss-webpack-plugin

  • Version 4.1.3
  • Published
  • 12.6 kB
  • 3 dependencies
  • MIT license

Install

npm i purgecss-webpack-plugin
yarn add purgecss-webpack-plugin
pnpm add purgecss-webpack-plugin

Overview

PurgeCSS plugin for webpack - Remove unused css

Index

Classes

class PurgeCSSPlugin

class PurgeCSSPlugin {}

    constructor

    constructor(options: UserDefinedOptions$0);

      property options

      options: UserDefinedOptions$0;

        property purgedStats

        purgedStats: PurgedStats;

          method apply

          apply: (compiler: Compiler) => void;

            method initializePlugin

            initializePlugin: (compilation: Compilation) => void;

              method runPluginHook

              runPluginHook: (compilation: Compilation, entryPaths: string[]) => Promise<void>;

                Package Files (1)

                Dependencies (3)

                Dev Dependencies (3)

                Peer Dependencies (1)

                Badge

                To add a badge like this onejsDocs.io badgeto 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/purgecss-webpack-plugin.

                • Markdown
                  [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/purgecss-webpack-plugin)
                • HTML
                  <a href="https://www.jsdocs.io/package/purgecss-webpack-plugin"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>