-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Plugin API: Allow custom utilities to start with
@
(#14793)
Closes #14791 Add support to the JS Plugin interop layer for utilities that _start with_ `@`. This ensures no breaking when trying to load plugins that contribute utilities like `@container` from `@tailwindcss/container-queries` (even though the `@container` utility is now part of core). ## Test Plan Added the `@tailwindcss/container-queries` plugin to to the Vite example:  However, in order for the Vite example to load the extension, I also had to apply the following patch:  I think this is related to our dev system though, the compiled plugin file is going to be a flat file with no requires in our public release. --------- Co-authored-by: Adam Wathan <adam.wathan@gmail.com>
- Loading branch information
1 parent
3244da8
commit 9c41ce8
Showing
3 changed files
with
46 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