Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
task('favicons', () =>
src(`${config.src.images}/icon.png`)
.pipe(favicons(config.favicons)).on('error', $.util.log)
.pipe($.size(config.size('favicons')))
.pipe(dest(`${config.dest.dist}${config.favicons.path}`)))
gulp.task("favicon", function() {
return gulp
.src(paths.images + "/favicon.png")
.pipe(
favicons({
appName: "FPbase",
appDescription: "The Fluorescent Protein Database",
developerName: "Talley Lambert",
developerURL: "http://talleylambert.com/",
background: "#17941e",
path: "/",
url: "http://fpbase.org/",
display: "standalone",
orientation: "portrait",
start_url: "/",
version: 1.0,
logging: false,
html: "index.html",
pipeHTML: true,
replace: true
})