-
Notifications
You must be signed in to change notification settings - Fork 90
1 / -1
works, but 1/-1
gives syntax error (stage 0)
#163
Comments
1 / -1
works, but 1/-1
gives syntax error1 / -1
works, but 1/-1
gives syntax error (stage 0)
@hcavalieri |
I'm getting this error too, with Reproduction using latest version: https://codesandbox.io/s/friendly-gates-9l1du?file=/src/index.js |
Also happens with |
Hello, we're having the same issue as well. It seems to come from:
The issue is fixed in We use yarn, so in the mean time I was able to solve the issue with selective resolutions in our "resolutions": {
"postcss-custom-properties": "^9.1.1"
} |
Unfortunately, even if I put spaces there it still doesn't work. Hopefully, it gets fixed soon :) |
* [This issue](csstools/postcss-preset-env#163 (comment)) with `preset-env` causes build to fail.
I have the same issue when using css variables File detailspackage.json
.browserslistrc
postcss.config.js
working.css
problem.css
|
@hdoro We migrated every plugin to use It should be resolved by updating to the latest versions. |
Hey there! Thanks for this awesome tool 😁
I'm having a problem with
grid-column
: even thoughgrid-column: 1/-1
is valid syntax,postcss-preset-env
set tostage: 0
will crash unless we give spaces between the numbers and the slash (grid-column: 1 / -1
), giving the following error message:I've tested this in the online playground, so I'm sure this is not specific to my set-up. A minimal example is the following CSS code, which will break in stage 0 (but not in 1 up):
Let me know how I can be of help \o/
The text was updated successfully, but these errors were encountered: