-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
webpack complains about "start" value when we should be using "flex-start" (probably) #23595
webpack complains about "start" value when we should be using "flex-start" (probably) #23595
Comments
Happening again. The PR to address it: matrix-org/matrix-react-sdk#10163 |
Irrespective of whether the warnings are valid, they are hella annoying, so I'm reopening this issue. I don't know if the correct fix is to fix webpack or fix our css. |
This warning is coming from autoprefixer, of which we are using a rather old version (9.8.8, released Oct 4, 2021). I suspect this is because we are using an even older postcss-preset-env version (6.7.0, released 9 July 2019. 6.7.2 was released a couple of months ago, but I suspect it was a minor update. I can't find a changelog that explains the difference.) |
I spent a bit of time looking into whether this was an easy fix, but I'm going to have to give up. I heavily suspect this is a side-effect of us using ancient postcss (despite the dependency on
and
... and I don't know how to fix them. |
For some reason that I don't entirely understand, the conditional export here seems to upset postcss-loader (element-hq/element-web#23595 (comment)) -- possibly because this is neither a cjs nor an es6 import. Since both `require` and `import` point to the same file, we might as well make it unconditional.
This actually seems to be unhappy about the conditional export in https://github.com/element-hq/compound-web/blob/main/package.json#L15-L18; since both exports are the same the easiest fix may just be to turn it into an unconditional export (element-hq/compound-web#136). That doesn't help with the |
For some reason that I don't entirely understand, the conditional export here seems to upset postcss-loader (element-hq/element-web#23595 (comment)) -- possibly because this is neither a cjs nor an es6 import. Since both `require` and `import` point to the same file, we might as well make it unconditional.
I was hoping this might have been fixed by #26993 which updated postcss and autoprefix, but it seems not:
(etc) |
see #22823
The text was updated successfully, but these errors were encountered: