gulp-favicons is a gulp plugin for Favicons.
import gulp from 'gulp';
import favicons from 'gulp-favicons';
gulp
.src('./favicon.png')
.pipe(
favicons({
appName: 'My App',
appShortName: 'App',
appDescription: 'This is my application',
developerName: 'Hayden Bleasel',
developerURL: 'http://haydenbleasel.com/',
background: '#020307',
path: 'favicons/',
url: 'http://haydenbleasel.com/',
display: 'standalone',
orientation: 'portrait',
scope: '/',
start_url: '/?homescreen=1',
version: 1.0,
html: 'index.html',
pipeHTML: true,
})
)
.pipe(gulp.dest('./dest'));