1.1.0 • Published 3 months ago

vite-plugin-hashed-favicons v1.1.0

Weekly downloads
-
License
BSD-3-Clause
Repository
github
Last release
3 months ago

Vite Plugin for hashed favicons

Release

This plugins provides favicons support for Vite.

In contrast to other plugins it adds hashes to all images based on the source file and places them under /assets, while keeping all manifest files under the root.

Installation

npm

npm i vite-plugin-hashed-favicons

pnpm

pnpm add vite-plugin-hashed-favicons

Usage

In your vite.config.ts:

import favicons from "vite-plugin-hashed-favicons";
import { defineConfig } from "vite";

export default defineConfig({
    plugins: [
        favicons("./src/assets/favicon.svg", {
            // See "favicons" package configuration
        }),
    ],
});
1.1.0

3 months ago

1.0.0

3 months ago