You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using parcel (2.10.3) and tailwindcss(3.3.6) together may result in the following error: @parcel/transformer-css: Unsupported pseudo-class or element: global if the :global operator is found in the module CSS. In such cases, it cannot be used.
Disabling Tailwind (by removing the .postcssrc file) will allow the :global operator to be handled without encountering the error.
The error message:
% parcel ./index.html --port=4000
Server running at http://localhost:4000
@parcel/transformer-css: Unsupported pseudo class or element: global
No warning and it should able to handle :global operator to use with tailwindcss
馃槸 Current Behavior
It show warning and it can not use the :global operator
馃拋 Possible Solution
no idea. sorry.
馃敠 Context
I have a project using CSS module and would like to migrate to tailwind but it is not a single pass process. I am seeking a solution to run tailwind and CSS module together in a period and migrate step by step.
馃悰 bug report
Using parcel (2.10.3) and tailwindcss(3.3.6) together may result in the following error:
@parcel/transformer-css: Unsupported pseudo-class or element: global
if the :global operator is found in the module CSS. In such cases, it cannot be used.Disabling Tailwind (by removing the .postcssrc file) will allow the :global operator to be handled without encountering the error.
The error message:
馃帥 Configuration
.postcssrc
tailwindcss.config.js
package.json
馃 Expected Behavior
No warning and it should able to handle :global operator to use with tailwindcss
馃槸 Current Behavior
It show warning and it can not use the :global operator
馃拋 Possible Solution
no idea. sorry.
馃敠 Context
I have a project using CSS module and would like to migrate to tailwind but it is not a single pass process. I am seeking a solution to run tailwind and CSS module together in a period and migrate step by step.
馃捇 Code Sample
Download the example project at : parcel-tailwind.zip
Uncompress the file and then run :
Remove the .postcssrc will complains
Unknown at rule: @tailwind
but the:global
works.馃實 Your Environment
The text was updated successfully, but these errors were encountered: