sonarr-repo-only/frontend/gulp/stripBom.js

14 lines
334 B
JavaScript
Raw Normal View History

2018-01-13 02:01:27 +00:00
const gulp = require('gulp');
const paths = require('./helpers/paths.js');
const stripbom = require('gulp-stripbom');
function stripBom(dest) {
gulp.src([paths.src.scripts, paths.src.exclude.libs])
.pipe(stripbom({ showLog: false }))
.pipe(gulp.dest(dest));
}
gulp.task('stripBom', () => {
stripBom(paths.src.root);
});