Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Unsupported pseudo class or element: global" warning when building site #1021

Open
johnmcase opened this issue Nov 13, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@johnmcase
Copy link

johnmcase commented Nov 13, 2024

Describe the bug

Warning written to build output when building my docusaurus site:

[WARNING] {"message":" ⚠ Unsupported pseudo class or element: global at assets/css/styles.035bba7f.css:8451:32111\n","compilerPath":"client"}

Expected behavior

Site builds without warnings

Current behavior

Warning above is written to the console

Possible solution

I'm pretty sure this is caused by the :global selector in

Not sure what the fix would be. Perhaps rename it to _Line.module.scss?

Steps to reproduce

  1. Docusaurus 3.6.1 (was happening with 3.6.0 as well)
  2. docusaurus-openapi-docs 4.2.0 (was happening with 4.1.0 as well)
  3. My site is using docusaurus-plugin-sass 0.2.5 (latest), not sure if that matters
  4. npm run build

Screenshots

image

Context

Your Environment

  • Docusaurus 3.6.1 (was happening with 3.6.0 as well)
  • docusaurus-openapi-docs 4.2.0 (was happening with 4.1.0 as well)
  • node 20.9.0
  • npm 10.2.5
  • git-bash on Windows 11
@johnmcase johnmcase added the bug Something isn't working label Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant