schovi / webpack-chrome-extension

Moved and redesigned into https://github.com/schovi/create-chrome-extension
MIT License
167 stars 27 forks source link

Process icon assets on both browser action and page action #14

Closed tennisonchan closed 8 years ago

tennisonchan commented 8 years ago

According to chrome extension guiding, page_action or browser_action can have property default_icon of a string of the icon path or an object of icons with various size.

Add a function processIcon to handle that.