mirror of
https://github.com/tailwindlabs/tailwindcss.git
synced 2025-12-08 21:36:08 +00:00
This PR fixes an issue where some `@import` at-rules had an empty `layer()` attached at the end of the `@import` string. We should only add that if a Tailwind directive or Tailwind import such as `@tailwind base` or `@import "tailwindcss/base"` preceded the current `@import` at-rule. If there was no Tailwind directive, the `lastLayer` will be empty and we don't need to attach it to the `@import` string.