@axelrindle/vite-plugin-favicon
TypeScript icon, indicating that this package has built-in type declarations

0.2.0 • Public • Published

CI npm (scoped) commit style changelog style

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

License

MIT

Package Sidebar

Install

npm i @axelrindle/vite-plugin-favicon

Weekly Downloads

3

Version

0.2.0

License

MIT

Unpacked Size

6.89 kB

Total Files

6

Last publish

Collaborators

  • axelrindle