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 4c56e53 commit 5a193daCopy full SHA for 5a193da
src/lib/generateRules.js
@@ -139,6 +139,10 @@ function sortAgainst(toSort, against) {
139
140
function resolveMatches(candidate, context) {
141
let [classCandidate, ...variants] = candidate.split(':').reverse()
142
+
143
+ // Strip prefix
144
+ // md:hover:tw-bg-black
145
146
let matchedPlugins = resolveMatchedPlugins(classCandidate, context)
147
148
let sorted = sortAgainst(variants, context.variantMap)
@@ -198,6 +202,8 @@ function generateRules(candidates, context) {
198
202
199
203
let matches = resolveMatches(candidate, context)
200
204
205
+ // apply prefix and important here?
206
201
207
if (matches.length === 0) {
208
context.notClassCache.add(candidate)
209
continue
0 commit comments