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
TypeError: Cannot read property 'search' of undefined #639
Comments
Can you provide a minimal set of code to reproduce the issue? |
@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 😄 |
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. |
When I upgrade to v4.1.5, the following error occurs.
I guess it can be caused by the following code:
cssnano/packages/postcss-merge-longhand/src/lib/decl/borders.js
Lines 376 to 379 in 1ebc319
The text was updated successfully, but these errors were encountered: