Skip to content
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

URL #10

Closed
olehreznichenko opened this issue Oct 16, 2015 · 3 comments
Closed

URL #10

olehreznichenko opened this issue Oct 16, 2015 · 3 comments

Comments

@olehreznichenko
Copy link

Hello!
Have a problem with background-image url(../images/1.jpg)
After compilition reported error with message no such file in directory
The structure of the project is on desctop
1
he is looking folder images on desktop not in my project/app/images/

I write a clear gulpfile with this code

'use strict'
let gulp = require('gulp'),
stylus = require('gulp-stylus');

gulp.task('css', () => {
return gulp.src('app/stylus/main.styl')
.pipe(stylus())
.pipe(gulp.dest('app/test'));
});

And stylus compiled same without errors

@madeleineostoja
Copy link
Owner

what postcss plugins are you using with poststylus?

@olehreznichenko
Copy link
Author

I tested each plug-in and found a error in cssgrace

Yap this is cssgrace. Clear gulp without stylus and poststylus and same problem

'use strict'
let gulp = require('gulp'),
postcss= require('gulp-postcss'),
cssgrace = require('cssgrace')

gulp.task('css', () => {
let processors = [cssgrace];
return gulp.src('app/css/ex.css')
.pipe(postcss(processors))
.pipe(gulp.dest('app/test'));
});

@madeleineostoja
Copy link
Owner

alrighty, best follow it up with them then. I'll close this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants