patrickhulce / fontmin-webpack

Minifies icon fonts to just the used glyphs.
MIT License
139 stars 19 forks source link

fix: support context of webpack.config #62

Open daichi-yamauchi opened 2 years ago

daichi-yamauchi commented 2 years ago

Fix that specifying the context of webpack.config cause no such file error.

Occurred error

Run npx webpack

Error: ENOENT: no such file or directory, stat 'fonts/my-font.ttf'