jantimon / iconfont-webpack-plugin

Simple icon font handling for webpack
MIT License
112 stars 38 forks source link

Upgraded 'svgicons2svgfont' version to fix errors when using Node #28

Closed baltpeter closed 6 years ago

baltpeter commented 6 years ago

Hi,

just a really simple PR that fixes an error I encountered when using iconfont-webpack-plugin with Node 10, where it always threw the following error:

(node:11196) UnhandledPromiseRejectionWarning: TypeError: Cannot create property 'message' on string 'Checksum error in glyf'
    at iconfont-webpack-plugin/lib/loader.js:34:19
    at process._tickCallback (internal/process/next_tick.js:68:7)

The Checksum error in glyf was fixed in nfroidure/svg-pathdata#33 which in turn was upgraded in svgicons2svgfont version 9.0.3.

Cheers, Benjamin

jantimon commented 6 years ago

Thanks! 👍 Release: iconfont-webpack-plugin@3.0.1