-
Notifications
You must be signed in to change notification settings - Fork 19
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
Property missing ':' error #26
Comments
It seems you have a syntax error in one of your css files, which prevent gulp-concat-css to parse the file. You should try to isolate the file with the error. |
Hi. I get same error when I use gulp-concat-css on jQuery UI CSS files.
so I try to fix code. I put ":" in place which was pointed as problem place (inside comments). I was pretty surprised:
after (watch colons in comments! ;):
It was also missing "{}" in the end of code (wtf?) I finished with this INVALID code which is OK for gulp-concat-css and it runs thru soothly without errors:
|
gulp-concat-css it's just some glue code for rework and some rework plugins, this is likely some parsing problem buried in one of those libraries. I'll create a test case and try to investigate the issue. |
Running the css files though minification (using yui compressor) before unification seems to fix the problem for me. |
removing comments usually helps:
|
@margusbirk Thanks for tip, I'll try it. It sounds promising. |
This is a task that keeps erroring out with "property missing :":
The relative paths are set correctly. What is more interesting, if I change
src
tothemes/my_domain/css/custom.css
that tasks proceeds without errors (who would want to concatenate one file anyway).More so, passing
gulp.src(['themes/my_domain/css/custom.css', 'themes/my_domain/css/responsive.css'])
does not error out, but only the first file is read. The second argument (responsive.css
) is ignored.How can I get rid of this error and concatenate all files in one folder with
gulp-concat-css
?The text was updated successfully, but these errors were encountered: