{"library":"rollup-plugin-favicons","title":"rollup-plugin-favicons","description":"A Rollup plugin for generating favicons and associated files from a source image, using the favicons generator. Version 0.5.0 is the latest stable release. It supports caching, custom output via callback, and integrates with rollup-plugin-html2 for automatic injection of link tags. Compared to other solutions, it leverages Rollup's asset emission and is designed for modern build pipelines. Peer dependencies: rollup >=1.25 and rollup-plugin-html2 >=0.7.","language":"javascript","status":"active","last_verified":"Mon Apr 27","install":{"commands":["npm install rollup-plugin-favicons"],"cli":null},"imports":["import favicons from 'rollup-plugin-favicons'","import favicons from 'rollup-plugin-favicons'","import type { RollupPluginFavicons } from 'rollup-plugin-favicons'"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"// rollup.config.js\nimport favicons from 'rollup-plugin-favicons'\nimport html2 from 'rollup-plugin-html2'\n\nexport default {\n  input: 'src/index.js',\n  output: {\n    dir: 'dist',\n    format: 'es',\n  },\n  plugins: [\n    favicons({\n      source: 'src/icon.svg',\n      configuration: {\n        appName: 'My App',\n        appShortName: 'App',\n        background: '#ffffff',\n        theme_color: '#000000',\n        display: 'standalone',\n        orientation: 'any',\n        start_url: '/',\n        scope: '/',\n      },\n      cache: true,\n    }),\n    html2({\n      template: 'src/index.html',\n    }),\n  ],\n}","lang":"javascript","description":"Shows basic usage of rollup-plugin-favicons with rollup-plugin-html2, generating favicons from a source SVG with custom configuration and caching.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}