We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0801740 commit b08b814Copy full SHA for b08b814
template/purgecss.config.js
@@ -8,10 +8,7 @@ const PurgecssWhitelister = require('purgecss-whitelister');
8
// https://github.com/FullHuman/purgecss#extractor
9
class TailwindExtractor {
10
static extract(content) {
11
- const matches = content.match(/[A-z0-9-:/]+/g) || [];
12
- // remove back ticks
13
- // https://github.com/FullHuman/purgecss-webpack-plugin/issues/32
14
- return matches.map(s => s.replace('`', ''));
+ return content.match(/[A-Za-z0-9-_:/]+/g) || [];
15
}
16
17
0 commit comments