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

Failed to find subdir/imported.css in .../node_modules/gulp-concat-css/test/expected/build #27

Open
mattfili opened this issue Jun 16, 2015 · 1 comment

Comments

@mattfili
Copy link

gulp.task('gulp-concat', function() { return gulp .src('**/*.css') .pipe($.concatCss('public/lib/build.css')) .pipe(gulp.dest('public/lib')); });

Trying to concatenate Bootstrap components in my Bower_Dependencies folder and I'm getting an error - don't know where to start looking

@mariocasciaro
Copy link
Owner

If you write gulp .src('**/*.css') you are concatenating ALL the css files in your project directory, including all npm_modules, test assets and things you don't really need. Try to explicitly select the css files you want to concatenate or create a single css file importing the files you want to concatenate (gulp-concat-css will inline those files for you)

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