rohanray / next-fonts

Import fonts in Next.js (supports woff, woff2, eot, ttf, otf & svg)
179 stars 12 forks source link

Potential Bug #7

Closed kikoanis closed 5 years ago

kikoanis commented 5 years ago

Line 18 is constrained by enableSvg so if SVG is disabled, it won't add any loaders. I don't think that the correct intention here. I think you only need to use enableSvg to add svg or not to the different types of fonts

rohanray commented 5 years ago

Thanks @kikoanis for pointing out! That was indeed not the intention. Released v0.16.0. Can you have a go on 0.16.0 and share your feedback? Kind regards for supporting the plugin :) Cheers!