💠Generate favicons
npm i @axelrindle/vite-plugin-favicon
import favicon from '@axelrindle/vite-plugin-favicon'
import { defineConfig } from 'vite'
export default defineConfig({
plugins: [
favicon()
]
})
One or multiple input files.
One input file is enough in most cases.
The relative output directory to place the generated files in.
Options to pass to the underlying generator library.
For reference see https://github.com/itgalaxy/favicons.
- automatic index.html injection