gulp-depsort
v1.1.1
Published
sort a set of files based in their internal references to each other
Downloads
2
Readme
gulp-depsort
sort a set of files based in their internal references to each other
Installation
$ npm install --save gulp-depsort
Usage
In your gulpfile:
var depsort = require('gulp-depsort');
gulp.task('compile', function () {
gulp.src('src/*.html')
.pipe(depsort())
.pipe(compileAndConcatTask())
.pipe(gulp.dest('build'));
});
Options
Override sorting function
depsort({
'sort': function (files) {
//sort the array of files
return files;
}
});
Stuff
- MIT license
- Made by Adam Renklint in Berlin, February 2015
Changelog
- 1.0.0
- Initial release, ported from
<bap>
project
- Initial release, ported from
- 1.1.0
- Added unit tests
- Fixed regexp to ignore false positives
- 1.1.1
- Added readme banners for CI status, code quality, up-to-date dependencies