Skip to content

Commit b66c2da

Browse files
committed
support class binding object syntax
1 parent fb3613b commit b66c2da

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

purgecss/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@ const postcss = require('postcss');
22

33
let config = {
44
content: ['./public/**/*.html', './src/**/*.vue'],
5-
defaultExtractor: content => content.match(/[A-z0-9-_:/]+/g) || [],
5+
defaultExtractor: content =>
6+
content.match(/[A-Za-z0-9-_/:]*[A-Za-z0-9-_/]+/g) || [],
67
};
78

89
module.exports = postcss.plugin('tailwind-purgecss', function(opts) {

0 commit comments

Comments
 (0)