Meta tags:
author= Full Human;
keywords= purgecss, css, unused css, remove css, optimize css, tailwindcss, postcss, webpack, purge;
description= PurgeCSS is a tool to remove unused CSS from your project;
Headings (most frequently used words):
extractor, extractors, an, default, using, creating, list, of, available, in, progress,
Text of the page (most frequently used words):
purgecss (18), the (15), extractor (15), from (12), files (10), html (8), #extractors (8), you (8), pug (7), css (7), string (7), can (6), not (5), use (5), selectors (5), that (5), file (5), using (5), default (5), with (4), languages (4), are (3), list (3), array (3), content (3), want (3), api (3), safelisting (2), this (2), jsx (2), progress (2), const (2), tags (2), ids (2), classes (2), interface (2), function (2), returns (2), for (2), accuracy (2), and (2), convention (2), npm (2), options (2), extensions (2), purgecssfromhtml (2), purgecssfrompug (2), import (2), specific (2), might (2), consider (2), notice (2), does (2), unused (2), used (2), such (2), selector (2), types (2), how (2), github (2), français (2), english (2), reference (2), prev, daniel, diekmeier, floriel, kevin, ramharak, bartveneman, tanmay, rajani, ffloriel, contributors, last, updated, edit, page, those, still, work, encouraged, them, production, yet, warning, available, return, purgefromjs, undetermined, values, names, attributes, extractorresultdetailed, either, object, below, better, simple, takes, name, package, will, allow, users, look, searching, typefile, creating, export, extract, settings, option, config, extension, should, provide, best, purge, exclusively, useful, remove, enough, removes, ones, special, characters, considers, every, word, has, few, limitations, provides, working, all, but, limited, fit, exactly, type, framework, relies, get, there, multiples, contains, templating, like, even, javascript, adapted, suit, your, need, lot, being, removed, ant, design, modules, common, questions, comparison, hugo, wordpress, razzle, nuxt, next, react, vue, guides, gatsby, grunt, gulp, webpack, postcss, plugins, programmatic, command, line, configuration, getting, started, about,
Text of the page (random words):
extractors purgecss purgecss api reference languages languages english français github api reference languages languages english français 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 extractors purgecss can be adapted to suit your need if you notice a lot of unused css is not being removed you might want to use a specific extractor purgecss relies on extractors to get the list of selector used in a file there are multiples types of files that can contains selectors such as html files templating files like pug or even javascript file default extractor purgecss provides a default extractor that is working with all types of files but can be limited and not fit exactly the type of files or css framework that you are using the default extractor considers every word of a file as a selector the default extractor has a few limitations does not consider special characters such as using an extractor using an extractor can be useful if you notice that purgecss does not remove enough unused css or removes used ones using a specific extractor for an extension should provide you with the best accuracy if you want to purge exclusively html files you might want to consider the purgecss from html extractor you can use an extractor by settings the extractors option in the purgecss config file import purgecssfrompug from purgecss from pug import purgecssfromhtml from purgecss from html const options content files to extract the selectors from css css extractors extractor purgecssfrompug extensions pug extractor purgecssfromhtml extensions html export default options creating an extractor an extractor is a simple function that takes the content of a file as a string and returns an array of selectors by convention the name of the npm package is purgecss from typefile e g purgecss from pug using this convention will allow users to look at the list of extractor on npm by searching purgecss from the function can returns either an array of selectors tags classes ids or the object below for better accuracy interface extractorresultdetailed attributes names string values string classes string ids string tags string undetermined string const purgefromjs content return array of css selectors list of available extractors in progress warning those extractors are still a work in progress it is not encouraged to use them in production yet purgecss from html html files html purgecss from jsx jsx files purgecss from pug pug files pug edit this page last updated 10 2 24 8 39 am contributors ffloriel tanmay rajani bartveneman kevin ramharak floriel daniel diekmeier prev safelisting
|