0.0.3 • Published 7 years ago
chin-plugin-favicons v0.0.3
chin-plugin-favicons
Installation
yarn add -D chin chin-plugin-faviconsUsage
import favicons from 'chin-plugin-favicons'
const ext = favicons({ nameAsDir: true, config: {} })
export default {
  processors: { png: ext }
  after: () => {
    const html = ext.after()
  }
}- nameAsDir: booleandefault: false (ex.- [name].png=>- [name]/**)
- config: {}favicons's.
- ext.after()return- response.html(Array of html elements strings).