emoji-favicon-webpack-plugin
Advanced tools
Comparing version 0.0.1 to 0.0.2
@@ -6,2 +6,6 @@ const render = require('favicon-emoji/lib/render'); | ||
class EmojiFaviconPlugin { | ||
constructor(emoji) { | ||
this.emoji = emoji; | ||
} | ||
apply(compiler) { | ||
@@ -11,3 +15,3 @@ compiler.hooks.make.tapAsync( | ||
(compilation, callback) => | ||
render('🇨🇦', [16, 32, 48]) | ||
render(this.emoji, [16, 32, 48]) | ||
.then(toIco) | ||
@@ -14,0 +18,0 @@ .then(ico => { |
{ | ||
"name": "emoji-favicon-webpack-plugin", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "Let webpack generate an emoji favicon for you", | ||
@@ -5,0 +5,0 @@ "author": "Trevor Blades <tdblades@gmail.com>", |
18072
6
35