Skip to content

Commit 15b595d

Browse files
committed
update readme
1 parent 2ed2791 commit 15b595d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,8 @@ By default Purgecss will look for css selectors in your `.html` files inside the
4444
```javascript
4545
let config = {
4646
content: ['./public/**/*.html', './src/**/*.vue'],
47-
defaultExtractor: content => content.match(/[A-z0-9-_:/]+/g),
47+
defaultExtractor: content =>
48+
content.match(/[A-Za-z0-9-_/:]*[A-Za-z0-9-_/]+/g) || [],
4849
};
4950
```
5051
You can extend/override the default config in your PostCSS configuration.

0 commit comments

Comments
 (0)