-
Notifications
You must be signed in to change notification settings - Fork 90
place-content/items issue #229
Comments
Does any minimal code fail with that? |
I can have only css file which I import in my entry and still getting same error
|
Thanks! Can you tell me your node version? @nevolgograd |
@Antonio-Laguna |
@nevolgograd would it be possible to have access to your repo? This issue is similar as #225 but I'm having a hard time reproducing this. I've created two files: :global {
body {
place-content: center;
}
} Then on The module.exports = {
plugins: [
require('postcss-import'),
require('postcss-normalize'),
require('postcss-color-mod-function'),
require('postcss-preset-env')
]
}; Ran with |
@Antonio-Laguna thanks! My repo is private, but I'll create a copy in a moment. |
Thanks for preparing this @nevolgograd ! I'll take a look soon and update you on this. |
Can reproduce here at least. What I can see is that this is mixing some postcss versions which isn't fine. All of our plugins use I'll dig a bit more to see if this is coming from our code and if it's something we could prevent. |
issue is somewhere else, it seem that enabling align-content: undefined;
justify-content: undefined;
place-content: center; and crash comes from repro // postcss.config.js
module.exports = {
plugins: [
require('autoprefixer'),
require('postcss-lab-function'),
require('postcss-place')({}),
]
}; /* index.css */
body {
place-content: center;
} // package.json
{
"scripts": {
"test": "postcss index.css -o output.css"
},
"devDependencies": {
"postcss": "^8.4.1",
"postcss-cli": "^9.0.2",
"postcss-preset-env": "^7.0.1"
}
} |
@armano2 can't seem to repro with your use case. Seems to output just fine for me, no |
@Antonio-Laguna i pushed it as fork |
Thanks! Will check what was different but can repro on your fork! |
in oriignal repo |
Thanks for investigating. That's probably why I don't get the error on my test case but happens here Probably related to #228 |
FYI, Tailwind CSS build fails because of that as well, due to |
@evenfrost what package is using |
@Antonio-Laguna sorry for the late reply. It's Tailwind CSS. |
This should now be fixed as of csstools/postcss-plugins@b1c4d27 @nevolgograd I'd appreciate a lot if you could bump to |
@Antonio-Laguna since then i've changed a lot in my code, basically i removed |
Great! Thanks! Closing this issue then! |
I have simple webpack/postcss stack and my build is failing each time I use
place-content
orplace-items
propertiesHere’s the error:
I'm using latest version of the package:
PostCSS config:
Webpack config:
I will be grateful for any advice!
The text was updated successfully, but these errors were encountered: