-
Notifications
You must be signed in to change notification settings - Fork 9
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
not parsing files with ../ #10
Comments
@gilbarbara Sorry, but I cannot reproduce your case. This file is parsed without errors. Can you provide more details about your case? |
Hey! // bower:css
@import '../../bower_components/pickadate/lib/themes/default.css';
@import '../../bower_components/pickadate/lib/themes/default.date.css';
@import '../../bower_components/pickadate/lib/themes/default.time.css';
// endbower
@import '../../node_modules/c3/c3.css'; This is my gulp task: return gulp.src('app/styles/main.scss')
.pipe($.sass.sync({
includePaths: ['bower_components/'],
precision: 10
}).on('error', $.sass.logError))
.pipe($.autoprefixer({
browsers: AUTOPREFIXER_BROWSERS
}))
.pipe($.cssimport({ matchPattern: '*.css' }))
.pipe(gulp.dest('.tmp/styles')); I've tried to pipe the already parsed .css straight to gulp-cssimport and it didn't work anyway. |
That is minimatch problem for some reason pattern var options = {
matchPattern: '*.css',
matchOptions: {
matchBase: true
}
};
stream = gulp.src("style.css")
.pipe($.cssimport(options)) |
I made option |
hey, I'm trying with the new matchBase option. return gulp.src('app/styles/main.scss')
.pipe($.plumber())
.pipe($.sass.sync({
includePaths: ['bower_components/'],
precision: 10
}).on('error', $.sass.logError))
.pipe($.plumber.stop())
.pipe($.autoprefixer({
browsers: AUTOPREFIXER_BROWSERS
}))
.pipe($.debug())
//gulp-debug: app/styles/main.css
.pipe($.cssimport({
matchPattern: '*.css',
matchOptions: {
matchBase: true
}
}))
.pipe($.debug())
//gulp-debug: app/styles/main.css
.pipe(gulp.dest('.tmp/styles'))
.pipe($.debug())
//gulp-debug: ../../app/styles/main.css The last path should be Any ideas? |
No ideas. |
I got an error in
|
Well, replace in node_modules\gulp-debug\index.js |
hey, thanks |
I have rewritten part with resolving paths, which leads to bogus destination paths. |
FIxed in 3.0+ |
Sweet, I'll try it tomorrow! |
hey,
The new version 2 isn't working with files starting with
../
Like
@import '../../node_modules/c3/c3.css';
with or withouturl()
I've tried to load
../minified/d.css
intocomplete/styles.css
in the tests directory but no luck.The text was updated successfully, but these errors were encountered: