Skip to content

Commit 6b32635

Browse files
committed
Explain other code branch when processing @apply rules
1 parent 9d257a9 commit 6b32635

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/flagged/applyComplexClasses.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,8 @@ export default function applyComplexClasses(config, getProcessedPlugins) {
241241
return processApplyAtRules(css, css, config)
242242
}
243243

244+
// Tree contains no @tailwind rules, so generate all of Tailwind's styles and
245+
// prepend them to the user's CSS. Important for <style> blocks in Vue components.
244246
return postcss([
245247
substituteTailwindAtRules(config, getProcessedPlugins()),
246248
evaluateTailwindFunctions(config),

0 commit comments

Comments
 (0)