UNPKG

@peterek/vite-plugin-favicons

Version:

Simple Vite plugin to generate favicons from source image. Nothing more, nothing less.

9 lines (7 loc) 212 B
function generateFavicons(src, options) { return new Promise(async (resolve) => { const { favicons } = await import('favicons') resolve(favicons(src, options)) }) } module.exports = generateFavicons