-
Notifications
You must be signed in to change notification settings - Fork 1.8k
postcss-is-pseudo-class: Complex selectors in ':global :is(...)' can not be transformed to an equivalent selector without ':is()' #2722
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
Comments
Hey @simPod 👋 can you give more context here about your setup and when you are seeing these warnings? |
I'm using webpack. Followed readme import { createGraphiQLFetcher } from '@graphiql/toolkit';
import { GraphiQL } from 'graphiql';
import React from 'react';
import ReactDOM from 'react-dom';
import 'graphiql/graphiql.css';
const fetcher = createGraphiQLFetcher({
url: 'https://my.backend/graphql',
});
ReactDOM.render(<GraphiQL fetcher={fetcher} />, document.body); but all my css is post processed using postcss: { loader: 'postcss-loader', options: postcssConfig } const postcssConfig = {
postcssOptions: { plugins: ['postcss-preset-env'] },
sourceMap: true,
}; so I'm seeing it during build. |
@simPod doing some pruning...are you still having issues with your setup? |
Yes, using 2.1.0 |
@simPod I tried to reproduce it in the webpack example of our repo, but didn't manage to with the PostCSS config you posted. Can you provide us with a running reproduction (a repo that we can clone, StackBlitz, CodeSandbox, etc) so that we can further look into this? |
Having the same issue. Here's a minimal repo that gives me dozens of these warnings when I run Thanks for taking a look! |
If it's helpful, I believe what's happening here is that By default, The default browsers almost entirely includes browsers that support So really this is a bug in Opera Mini. 😉 |
I don't see the issue on |
@simPod I will close since problem was resolved |
Not sure if this #2722 (comment) was true since I can see those warnings on latest. But I'm using |
same here when using |
It looks like this is a problem with
to my |
Fixed by upgrading Vite to v6 and using Lightningcss instead Postcss, check out the migration guide for more info. |
I'm getting a lot of warnings from postcss of
graphiql/graphiql.css
(v2)
The text was updated successfully, but these errors were encountered: