- fix: fix issue where pseudo classes like :where, :not, :is were always removed at root level (89024ce), closes #1282 #978
- build: add named export for postcss plugin (87d15b7), closes #1263
- feat(purgecss-from-pug): returns ExtractorResultDetailed instead of selectors (fb51dc6)
- PostCSS plugin should now be imported via purgeCSSPlugin
import { purgeCSSPlugin } from '@fullhuman/postcss-purgecss';
- drop support for node 18
6.0.0 (2024-03-29)
- collect of used variables for changed selector (#1217) (9fbb592)
- gulp-purgecss: move vinyl-sourcemaps-apply to deps #999 (7858b7a)
5.0.0 (2022-09-13)
- add safelist variables to postcss-purgecss #840 (c822058)
- gulp-purgecss: support skippedContentGlobs option #853 (b72de77)
- Purgecss webpack plugin/only filter fix (#933) (f8e4c2c)
- purgecss-webpack-plugin: add sourcemap support #409 (b3f73ed)
- purgecss-webpack-plugin: export as named export as well as default (#821) (a6a2c8e)
- wrong path import (4f3ddd0)
- add source map support #526 (f2a9c5a)
- gulp-purgecss: add support for gulp-sourcemaps #257 (55c26d2)
- postcss-purgecss: load options from purgecss config (4de3bd8)
- purgecss-webpack-plugin: load config file automatically #767 (726faaa)
- purgecss-webpack-plugin: drop webpack 4 support
4.1.0 (2021-11-28)
- Allow Absolute Paths (#679) (15335a2)
- css variable removed when declared in wrong order (89ece42), closes #518
- Fix interaction with other plugins (#647) (fb08e3a)
- grunt-purgecss: Fix plugin not ouputting all files (#723) (646e419)
- gulp-purgecss: fix support for stream input (fd5d3bf)
- Keep keyframe decimals for prefixed @keyframes (#749) (b804441)
- purgecss-from-pug: class attribute with multiple values not correctly handled with pug (#678) (ba6285d), closes #677
- add dynamicAttributes option (2f9cc65)
- add option to ouput unused css (#763) (3a3d958)
- add purgecss-from-tsx (#716) (e556afc)
- export all types #780 (1a959c6)
- new purgecss-from-jsx plugin (#692) (3570c7d)
- Allow Absolute Paths (#679) (15335a2)
- purgecss-from-pug: class attribute with multiple values not correctly handled with pug (#678) (ba6285d), closes #677
- css variable removed when declared in wrong order (89ece42), closes #518
- Fix interaction with other plugins (#647) (fb08e3a)
- add dynamicAttributes option (2f9cc65)
4.0.3 (2021-03-20)
- add dynamic attributes option (9b0fdc3), closes #588
- add skippedContentGlobs option to webpack and gulp plugin (e3dce1a)
4.0.2 (2021-02-21)
4.0.1 (2021-02-21)
- attribute selector with spaces being removed (418dc7e), closes #392
- webpack plugin option blocklist types (5b029c2)
4.0.0 (2021-01-17)
- test: webpack test type error (c41ad27)
- postcss-purgecss: dropping support for postcss 7 Drop PostCSS 7 support, use @fullhuman/postcss-purgecss 3.0 with PostCSS 7.
- postcss-purgecss remove postcss 8 as peer dependency
- purgecss-webpack-plugin fix backward compatibility with webpack 4
3.1 (2020-12-14)
- PurgeCSS Update to PostCSS 8
- postcss-purgecss Add compatibility with PostCSS 8
- purgecss-webpack-plugin Fix deprecation warning with Webpack 5
3.0 (2020-09-06)
- CLI: add blocklist option (3961afb)
- add blocklist option (04223f7)
- add safelist option, replace whitelist
- add safelist keyframes and css variables (dc59d30), closes #418 #439
2.0.1-alpha.0 (2019-10-08)
- postcss-purgecss: add package (2b0616f)
1.4.0 (2019-09-01)
- Merged https://github.com/FullHuman/purgecss/commit/bc9f3b5b9d670832f0d1cca7bc7facfb253fb60b, ensure classes beginning with numbers are properly purged
- Merged #214, fix font-face processing
- update dependencies
1.3.0 (2019-04-20)
1.2.0 (2019-04-05)
- fix issue #148, so the default extract is used for any file type that is not specified
- Merged #167, fixing issue #166
- Merged #176, fixing invalid json output by the CLI
- Update dependencies
- Update dev dependencies, including babel 7
- package: update postcss to version 7.0.0 (3657c4d)
- package: update postcss-selector-parser to version 6.0.0 (8dd2442)
1.0.0 (2018-05-22)
- Merge #81, fixing #80
- Change default extractor, does not return error for empty file anymore
- Remove legacy option
- Add rejected option #55
- Add range ignore comment (
purgecss start ignore
andpurgecss end ignore
) #66
- Revert "adds keepChildren ability from whitelistPatterns Object[]" (c52c81b)
- Revert "fixes style code" (2213be6)
0.20.1 (2018-03-12)
0.20.0 (2018-01-30)
- #48, fix #41
- New option
fontFace
to remove unused font-face declaration - Remove unused vendor-prefixed keyframes rules
- Update dependencies
0.18.0 (2018-01-04)
- Change default extractor regex, fixing #37
- Update dependencies
- Use files property in package.json: importing only necessary files.
0.16.0 (2017-12-18)
keyframes
option set tofalse
by default,keyframes: true
causing issue with bootstrap #33- Update dependencies.
0.14.0 (2017-12-07)
- Merge PR #29 by @jsnanigans: add
raw
for content option to pass a raw string instead of a filepath. - Fix incorrect logic that removes attributes selectors.
- Update dependencies.