klei / gulp-angular-filesort

Automatically sort AngularJS app files depending on module definitions and usage
MIT License
132 stars 46 forks source link

sort in reverse order #38

Closed loganfreeman closed 8 years ago

loganfreeman commented 8 years ago

exports.task = function() { return gulp.src('gulp/index.html') .pipe($.inject( gulp.src([ 'app.js', path.join(conf.paths.src, '/*/.js'), path.join('!' + conf.paths.src, '/*/spec.js'), ]) .pipe($.angularFilesort()) )) .pipe(gulp.dest('tmp'));

};

It gave the script tags in reverse order.

joakimbeng commented 8 years ago

See #44 and #45