Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix intellisense for plugins with multiple
@apply
rules (#8213)
* Fix intellisense for plugins with multiple `@apply` rules Intellisense uses `expandApplyAtRules` directly and doesn’t partition them. When a plugin registers components using something like `”@apply flex”: {}` more than once in the same component intellisense will break. This isn’t a problem for Tailwind CSS proper because we do rule partitioning. Given that Intellisense is using it directly though we shouldn’t outright break in the face of this situation even if the result isn’t 100% accurate (the source maps won’t be correct in this case). * Update changelog Co-authored-by: psucoder <[email protected]>
- Loading branch information