rohanray / next-fonts

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

Fix broken public file reference #1

Closed rick-nu closed 6 years ago

rick-nu commented 6 years ago

Fonts could not be loaded due to a broken public path reference.

I think this should fix it, but I will probably extend Webpack myself now :)

rick-nu commented 6 years ago

I can verify that this actually fixes the problem for me :+1:

rohanray commented 6 years ago

Thanks @RickvdStaaij for the PR!