@axelrindle/vite-plugin-favicon
v0.2.0
Published
Vite plugin for dynamic favicon generation.
Downloads
36
Maintainers
Readme
vite-plugin-favicon
💠 Generate favicons
Install
npm i @axelrindle/vite-plugin-favicon
Usage
import favicon from '@axelrindle/vite-plugin-favicon'
import { defineConfig } from 'vite'
export default defineConfig({
plugins: [
favicon()
]
})
Configuration
source
One or multiple input files.
One input file is enough in most cases.
output
The relative output directory to place the generated files in.
generatorOptions
Options to pass to the underlying generator library.
For reference see https://github.com/itgalaxy/favicons.
TODO
- automatic index.html injection