Skip to content

Commit

Permalink
Explain other code branch when processing @apply rules
Browse files Browse the repository at this point in the history
  • Loading branch information
adamwathan committed Aug 15, 2020
1 parent 9d257a9 commit 6b32635
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/flagged/applyComplexClasses.js
Expand Up @@ -241,6 +241,8 @@ export default function applyComplexClasses(config, getProcessedPlugins) {
return processApplyAtRules(css, css, config)
}

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

0 comments on commit 6b32635

Please sign in to comment.