-
Notifications
You must be signed in to change notification settings - Fork 4
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
Error when css contains grid syntax #6
Comments
Additional finding:
|
Hi, I experience this issue as well because I use a component library whose CSS uses
So right now I am working around this by setting my |
Please file this bug upstream at https://github.com/cssnano/cssnano! |
Relatively new to CSS grid but my understanding is "grid-column: span 2" is not the same as "grid-column: span 2 / 1". I know this is probably a config/library compatibility issue that needs resolving at it's root, but is there currently any work around that allows us to still have the same end result as "grid-column: span 2"? |
Hi @Timer, I went ahead and opened an issue with Basically, they could reorder the plugins in Alternatively, the Thanks! |
Unfortunately I don't know enough about |
Uses the temporary fix proposed by @4cm4k1 in vercel/next.js#15026, Timer/cssnano-preset-simple#6, and cssnano/cssnano#927. Also temporarily fixes Sass module resolution by using the Yarn v2 nodeLinker option (until it's fixed upstream; see vercel/next.js#15753).
🎉 This issue has been resolved in version 1.1.5 🎉 The release is available on: Your semantic-release bot 📦🚀 |
I'm still having this issue with
|
I am using
next@9.4.5-canary.30
, which now usescssnano-simple@1.0.4
and subsequentlycssnano-preset-simple@^1.1.3
.I am seeing the following error when building via
next build
, as well as in a repro environment that simply uses "postcss" and "cssnano-preset-simple":In searching for the root cause, I found that the error occurs whenever the following line is found in any css file:
Here are additional findings:
grid-column: span 2 / 1
grid-column: "span 2"
(though I'm not sure that's actually valid grid syntax)next@9.4.5-canary.23
, when "cssnano-simple" was loaded via thedist/
folder instead of the package.The text was updated successfully, but these errors were encountered: