0.0.3 • Published 6 years ago

chin-plugin-favicons v0.0.3

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

chin-plugin-favicons

npm npm Build Status Coverage Status

chin plugin using favicons.

Installation

yarn add -D chin chin-plugin-favicons

Usage

import favicons from 'chin-plugin-favicons'

const ext = favicons({ nameAsDir: true, config: {} })

export default {
  processors: { png: ext }
  after: () => {
    const html = ext.after()
  }
}
  • nameAsDir: boolean default: false (ex. [name].png => [name]/**)

  • config: {} favicons's.

  • ext.after() return response.html (Array of html elements strings).

License

MIT (http://opensource.org/licenses/MIT)