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
cleancss value.split is not a function breaks #887
Comments
My mistake sorry. |
No worries! |
What was the mistake here? I have this error too with this input: @import url('https://fonts.googleapis.com/css?family=Roboto:300,400,500,700|Rasa'); |
Please, reopen this issue. |
@ernestoalejo @Manu1400 @negherbon any further details here? |
Sorry, I don't remember the details of this error. I have checked the commits of that day and there's one updating from |
Thanks @ernestoalejo for giving it a try - @Manu1400? |
Ping! |
I'm getting this error too, using the latest gulp-clean-css, which is currently using clean-css 4.1.5. Here's how I'm invoking clean-css — I hope you can read coffeescript! .pipe gulp_clean_css
level:
1:
removeEmpty: false If I set Here's my stack trace. The input CSS file doesn't seem to matter. I've tested it with a bunch of different kinds of input, including a completely empty file. All of them break in the same way, as best as I can tell. Let me know if there's anything else I can do to help repro. |
Why: * When `removeEmpty: false` is used then comments are not properly removed from a list of tokens.
I've found an edge case in serializing code and will push it with 4.1.6. Hopefully it solves the problem. |
Fixed in 4.1.6. |
Hi, I'm getting a similar issue when I try to build my angular project. It's a fairly large project, and I'm not sure what exactly I'm looking for that could be breaking the build. If you could give me any direction as to what could possibly cause this issue in my .scss code, that would be greatly appreciated. Thanks, |
A little bit more information about the above project. It is an ionic 4 angular 8 project. The above error occurs when I run the ng build --prod script. I thought it might be something syntax related from recent code commits to the .scss files, so I ran js-beautify on the .scss files to clean them up, and it's still having the same error. |
Here are the default settings that the cleancss-webpack-plugin.js file is using from the angular setup. const cleancss = new CleanCSS({ |
Last time i run the build in my company project was 8 days ago and after this are occurring this error bellow:
It's happening this error with someone?
The text was updated successfully, but these errors were encountered: