-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don’t crash when scanning candidate matching the prefix (#14588)
When a prefix is set in a stylesheet and we found a candidate that is equal to the prefix we would crash: ```css @import "tailwindcss" prefix(tomato); ``` ```js console.log("tomato") ``` This PR fixes this case by ensuring that we have something that looks like a variant before considering a prefix.
- Loading branch information
1 parent
0f37845
commit 60b0e9c
Showing
3 changed files
with
20 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters