Skip to content

Commit a7d55a6

Browse files
author
avinb
committed
installed gulp-order on Concat sample and Restored some ordering
1 parent 52df7fa commit a7d55a6

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

gulp/gulp4_concat/gulpfile.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
var gulp = require('gulp'),
22
concat = require('gulp-concat');
3-
concat = require('gulp-order');
3+
order = require('gulp-order');
44

55
gulp.task('css', function () {
66
return gulp.src('./Assets/css/**/*.css')
7+
.pipe(order(['styles.css', '*.css']))
78
.pipe(concat('all.css'))
89
.pipe(gulp.dest('./wwwroot/css'));
910
});

gulp/gulp4_concat/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
"license": "ISC",
1111
"devDependencies": {
1212
"gulp": "^3.9.1",
13-
"gulp-concat": "^2.6.0"
13+
"gulp-concat": "^2.6.0",
14+
"gulp-order": "^1.1.1"
1415
}
1516
}

0 commit comments

Comments
 (0)