iconfont-webpack-plugin icon indicating copy to clipboard operation
iconfont-webpack-plugin copied to clipboard

Webpack 5 support

Open tamara027 opened this issue 3 years ago • 2 comments

tamara027 avatar Feb 03 '22 09:02 tamara027

Is there any update on this @tamara027 / @jantimon ? I'm trying to upgrade to webpack 5 and iconfont is not working with assets modules.

This looks like the thing we need? (Also thanks for the work here!)

LucaColonnello avatar Sep 29 '22 10:09 LucaColonnello

I managed (by trial and error) to make it work in webpack 5.87.0 by removing double quotes on this line:

const url = 'data:application/x-font-woff;charset=utf-8;base64,' + result;

I'm not an expert in webpack, not sure if this is conceptually correct (and why it works 😀).

ambienthack avatar Jun 18 '23 14:06 ambienthack