When I upgrade to v4.1.5, the following error occurs.

I guess it can be caused by the following code:
Can you provide a minimal set of code to reproduce the issue?
@andyjansson online demo
@andyjansson find:
.a {
border: 2px solid #fff;
border-color: inherit;
}
Will look at this after work.
Looking forward to the release of a new version :smile:
@andyjansson
postcss-merge-longhand installed from npm,
"version": "4.0.7"
borders.js line 106 seems to be old, missing fixed code, something wrong ???
const isValueCustomProp = value => !!~value.search(/var\s(\s--/i);
@lulucas It was merged yesterday. It hasn't been published yet.
Most helpful comment
Will look at this after work.