Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This will allow us to use the fallback plugin if there are 2 colliding plugins given a certain arbitrary value that's indistinguishable in either plugin. Normally we would then require a type cast, but now we can use the fallback. This is useful so that in the future adding more colliding plugins doesn't result in working code being broken because it requires a typehint all of a sudden. E.g.: ```js <!-- Before --> <div class="bg-[200px_100px]"></div><!-- Warning --> <!-- Fix: --> <div class="bg-[length:200px_100px]"></div> <div class="bg-[position:200px_100px]"></div> ``` ```js <!-- After (no fix required) --> <div class="bg-[200px_100px]"></div><!-- Generates styles for the background-size --> ```
- Loading branch information
1 parent
e625252
commit 49acd57
Showing
4 changed files
with
95 additions
and
51 deletions.
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
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