We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8c1df0f commit ce1a0eeCopy full SHA for ce1a0ee
jit/lib/expandTailwindAtRules.js
@@ -15,7 +15,7 @@ const INNER_MATCH_GLOBAL_REGEXP = /[^<>"'`\s.(){}[\]#=%]*[^<>"'`\s.(){}[\]#=%:]/
15
function getDefaultExtractor(fileExtension) {
16
return function (content) {
17
if (fileExtension === 'svelte') {
18
- content = content.replace(/\sclass:/g, ' ')
+ content = content.replace(/(?:^|\s)class:/g, ' ')
19
}
20
let broadMatches = content.match(BROAD_MATCH_GLOBAL_REGEXP) || []
21
let innerMatches = content.match(INNER_MATCH_GLOBAL_REGEXP) || []
0 commit comments