rohanray / next-fonts

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

add a new option to enable/disable content hash #14

Closed nidzovito closed 4 years ago

nidzovito commented 5 years ago

Font files are not likely to be changed, can we add enableHash option which is enabled by default?

https://github.com/rohanray/next-fonts/blob/362f314023c0b4bf06deb070bab5eb97aae95751/index.js#L30

rohanray commented 5 years ago

@nidzovito : I'm not sure I got you.

nidzovito commented 5 years ago

@rohanray What I wanted is add enableHash configuration option.

kachkaev commented 4 years ago

What is a benefit of serving '[name].[ext]'?

rohanray commented 4 years ago

Closing due to no required action