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
I dont know why toRemove return undefined #800
Comments
It certainly should not be |
Seems to work in Node.js v4.4.x, but is broken in 6.0, 6.5, 6.6 and possibly others. Tested on Windows 10 x64 and Debian x64. |
confirmed w/ v6.9.1 /Users/k/256/node_modules/clean-css/lib/properties/optimizer.js:134 TypeError: Cannot read property 'name' of undefined |
Again, it'd be great to have a reproducible test case, like a CSS snippet causing it. |
Depends on #290 - aggressive merging should be out in 4.0. |
@jakubpawlowicz i had a problem can you adviceme how to find the css that causing it ? a try with a lot printing values but no found the snippet |
@zodman I'd start with printing Btw, you can also ditch aggressive merging altogether ( |
for some reason my gulpfile are minify a js file ... stupid code!! long bug closed! |
no worries 👍 glad you sorted it out |
at
https://github.com/jakubpawlowicz/clean-css/blob/master/lib/properties/optimizer.js#L133
i fix with:
The text was updated successfully, but these errors were encountered: