rohanray / next-fonts

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

Add support for assetPrefix #3

Closed samjrdn closed 5 years ago

samjrdn commented 5 years ago

Prepends nextConfig.assetPrefix to the publicPath, if available. This feature was already added to arefaslani/next-images and it would be great to see it added here as well.

pantharshit00 commented 5 years ago

For anyone needs this asap as I needed I had published this as @harshitpant/next-fonts with upgraded deps. Waiting for this PR to get merged

ctavan commented 5 years ago

@rohanray any chance to get this merged?

rohanray commented 5 years ago

@samjrdn Thanks for the PR! available now on next-fonts@0.12.0