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.
2 parents 0dfbc7c + 822689f commit 61ab9e3Copy full SHA for 61ab9e3
src/lib/purgeUnusedStyles.js
@@ -86,7 +86,7 @@ export default function purgeUnusedUtilities(config) {
86
const broadMatches = content.match(/[^<>"'`\s]*[^<>"'`\s:]/g) || []
87
88
// Capture classes within other delimiters like .block(class="w-1/2") in Pug
89
- const innerMatches = content.match(/[^<>"'`\s.(){}\[\]#=%]*[^<>"'`\s.(){}\[\]#=%:]/g) || []
+ const innerMatches = content.match(/[^<>"'`\s.(){}[\]#=%]*[^<>"'`\s.(){}[\]#=%:]/g) || []
90
91
return broadMatches.concat(innerMatches)
92
},
0 commit comments