rohanray / next-fonts

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

At what version of next is this plugin deprecated? #35

Closed ghost closed 3 years ago

ghost commented 3 years ago

https://github.com/rohanray/next-fonts/issues/34

Conversation was locked so I'm opening an new issue to discuss deprecation of this plugin. No one wants to see their work deprecated but it can also be a sign of good aging and useful shelf-life. Given the discussion in #34 and the note in the readme I learned this package is no longer needed. But what's not clear is at which version fo Next does is this plug-in no longer needed. Without knowing which version of NextJS this plug-in is no longer needed hundreds of individuals will be forced to do the same research to determine which is a waste of human time if it can be documented.

Personally I'm using an older version of NextJS without an upgrade path (yet) and I think I need this plug-in would be super helpful versus hacks like this. So does anyone know at what version of Next should this plugin be deprecated if at all?

bryandowning commented 3 years ago

Worth mentioning @rohanray that I needed this package for a project using an nx monorepo. There's a next.js app located in a subdirectory of the monorepo that imports a global stylesheet from outside the next.js app. Font loading choked without this plugin.

rohanray commented 3 years ago

@bryandowning : Thanks for sharing some valuable insights :) Really appreciate it