Skip to content

Commit 8fd50e2

Browse files
committed
1.0.9
1 parent c343d4b commit 8fd50e2

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ The `shouldDrop` hook is called for every CSS selector that could not be matched
7474
### Features
7575

7676
- Retention of all transient pseudo-class and pseudo-element selectors which cannot be deterministically checked from the parsed HTML.
77-
- Deep resolution of composed [CSS variables](https://developer.mozilla.org/en-US/docs/Web/CSS/--*), e.g:
77+
- Deep resolution of composite [CSS variables](https://developer.mozilla.org/en-US/docs/Web/CSS/--*) during `@font-face` and `@keyframes` detection, e.g:
7878
```css
7979
:root {
8080
--font-style: italic;
@@ -254,7 +254,7 @@ server.listen(8080);
254254
---
255255
### Accumulating a Whitelist
256256

257-
Perhaps you want to take one giant CSS file and purge it against multiple HTML sources, thus retaining any selectors that appear in any HTML source. This also applies when using Puppeteer to invoke different application states to ensure that DropCSS takes every provided application state into account before cleaning the CSS. The idea is rather simple:
257+
Perhaps you want to take one giant CSS file and purge it against multiple HTML sources, thus retaining any selectors that appear in any HTML source. This also applies when using Puppeteer to invoke different application states to ensure that DropCSS takes every state into account before cleaning the CSS. The idea is rather simple:
258258

259259
1. Run DropCSS against each HTML source.
260260
2. Accumulate a whitelist from each result.

dist/dropcss.cjs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*
55
* dropcss.js (DropCSS)
66
* An exceptionally fast, thorough and tiny unused-CSS cleaner
7-
* https://github.com/leeoniya/dropcss (v1.0.9-dev)
7+
* https://github.com/leeoniya/dropcss (v1.0.9)
88
*/
99

1010
'use strict';

dist/dropcss.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
*
55
* dropcss.js (DropCSS)
66
* An exceptionally fast, thorough and tiny unused-CSS cleaner
7-
* https://github.com/leeoniya/dropcss (v1.0.9-dev)
7+
* https://github.com/leeoniya/dropcss (v1.0.9)
88
*/
99

1010
(function (global, factory) {

dist/dropcss.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "dropcss",
3-
"version": "1.0.9-dev",
3+
"version": "1.0.9",
44
"description": "An exceptionally fast, thorough and tiny unused-CSS cleaner",
55
"main": "./dist/dropcss.cjs.js",
66
"scripts": {

test/bench/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"test": "echo \"Error: no test specified\" && exit 1"
88
},
99
"dependencies": {
10-
"purgecss": "^1.2.0",
10+
"purgecss": "^1.3.0",
1111
"purify-css": "^1.2.5",
1212
"uncss": "^0.16.2"
1313
},

0 commit comments

Comments
 (0)