This repository was archived by the owner on Dec 19, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 188
Using env
(previously constant
) in a calc
#452
Comments
I ran into the same issue. For now, the only solution I've figured is disabling reduce-css-calc - e.g.: require('postcss-cssnext')({
features: {
calc: false
}
... Of course, this has its own implications. |
@vadikom Thanks for the response. Is this something that should be raised as an issue with reduce-css-calc do you think? |
I believe it's actually a known issue: |
Possibly resolved by #445 as a side effect of dropping calc minification. |
|
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Using
env
(previouslyconstant
) within acalc
throws a syntax error e.g.This should be valid CSS, but postcss-cssnext flags it as a syntax error:
See:
The text was updated successfully, but these errors were encountered: