Skip to content

Add support for tailwind @apply

Lukas Eipert requested to merge leipert-add-support-for-tailwind-apply into master

What does this MR do and why?

When post-processing our CSS with postcss, we can also apply the tailwind plugin in case one of the files contains @apply. We don't need to do that if the files do not contain @apply which will make the process a lot faster.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

N/A

How to set up and validate locally

  1. Use @apply gl-absolute in any SCSS file
  2. See position: absolute added in the corresponding css file app/assets/build
Edited by Lukas Eipert

Merge request reports