@fullhuman/postcss-purgecss

WebJar for @fullhuman/postcss-purgecss

Лицензия

Лицензия

MIT
Группа

Группа

org.webjars.npm
Идентификатор

Идентификатор

fullhuman__postcss-purgecss
Последняя версия

Последняя версия

3.1.3
Дата

Дата

Тип

Тип

jar
Описание

Описание

@fullhuman/postcss-purgecss
WebJar for @fullhuman/postcss-purgecss
Ссылка на сайт

Ссылка на сайт

https://www.webjars.org
Система контроля версий

Система контроля версий

https://github.com/FullHuman/purgecss

Скачать fullhuman__postcss-purgecss

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/org.webjars.npm/fullhuman__postcss-purgecss/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>fullhuman__postcss-purgecss</artifactId>
    <version>3.1.3</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/fullhuman__postcss-purgecss/
implementation 'org.webjars.npm:fullhuman__postcss-purgecss:3.1.3'
// https://jarcasting.com/artifacts/org.webjars.npm/fullhuman__postcss-purgecss/
implementation ("org.webjars.npm:fullhuman__postcss-purgecss:3.1.3")
'org.webjars.npm:fullhuman__postcss-purgecss:jar:3.1.3'
<dependency org="org.webjars.npm" name="fullhuman__postcss-purgecss" rev="3.1.3">
  <artifact name="fullhuman__postcss-purgecss" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='fullhuman__postcss-purgecss', version='3.1.3')
)
libraryDependencies += "org.webjars.npm" % "fullhuman__postcss-purgecss" % "3.1.3"
[org.webjars.npm/fullhuman__postcss-purgecss "3.1.3"]

Зависимости

compile (1)

Идентификатор библиотеки Тип Версия
org.webjars.npm : purgecss jar [3.1.3,4)

Модули Проекта

Данный проект не имеет модулей.

PurgeCSS

David (path) David (path) Dependabot npm npm GitHub

PurgeCSS logo

What is PurgeCSS?

When you are building a website, chances are that you are using a css framework like Bootstrap, Materializecss, Foundation, etc... But you will only use a small set of the framework and a lot of unused css styles will be included.

This is where PurgeCSS comes into play. PurgeCSS analyzes your content and your css files. Then it matches the selectors used in your files with the one in your content files. It removes unused selectors from your css, resulting in smaller css files.

Sponsors 🥰

Documentation

You can find the PurgeCSS documentation on this website.

Table of Contents

PurgeCSS

Plugins

Guides

Getting Started

Installation

npm i --save-dev purgecss

Usage

import PurgeCSS from "purgecss";
const purgeCSSResults = await new PurgeCSS().purge({
  content: ["**/*.html"],
  css: ["**/*.css"],
});

Packages

This repository is a monorepo that we manage using Lerna. That means that we actually publish several packages to npm from the same codebase, including:

Package Version Description
purgecss npm The core of PurgeCSS
postcss-purgecss npm (scoped) PostCSS plugin for PurgeCSS
purgecss-webpack-plugin npm Webpack plugin for PurgeCSS
gulp-purgecss npm Gulp plugin for PurgeCSS
grunt-purgecss npm Grunt plugin for PurgeCSS
purgecss-from-html npm Html extractor for PurgeCSS
purgecss-from-pug npm Pug extractor for PurgeCSS
purgecss-with-wordpress npm Collection of safelist items for WordPress
vue-cli-plugin-purgecss npm Vue CLI Plugin for PurgeCSS
org.webjars.npm

Full Human

Being more than human by helping others.

Версии библиотеки

Версия
3.1.3
3.0.0
2.3.0
2.2.0