You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Lidarr/gulp/stripBom.js

18 lines
457 B

var gulp = require('gulp');
var paths = require('./paths.js');
10 years ago
var stripbom = require('gulp-stripbom');
var stripBom = function (dest) {
10 years ago
gulp.src([paths.src.scripts, paths.src.exclude.libs])
10 years ago
.pipe(stripbom({ showLog: false }))
.pipe(gulp.dest(dest));
gulp.src(paths.src.templates)
10 years ago
.pipe(stripbom({ showLog: false }))
.pipe(gulp.dest(dest));
};
gulp.task('stripBom', function () {
stripBom(paths.src.root);
});