javascript - Compile all css files into one css file in gulp -


i'm trying learn gulp. got gulp watch fine , can compile scss css. working.

i stuck though.... how can compile multiple css files 1 css file?

i using:

gulp.task('styles', function () {   return gulp.src('app/css/*.css')     .pipe(concatcss('styles/bundle.css'))     .pipe(gulp.dest('dist/css')); }); 

but it's not working. keeps happening app files (main.css , section.css) output in dist folder (this correct) not in 1 file. compied instead of both being compiled styles.css file example.

thank suggestions. say, trying learn gulp. thought had been doing until this.


Comments