We are excited today to introduce Next.js 9.2, featuring:
All of these benefits are non-breaking and fully backwards compatible. All you need to do to update is run:
Next.js 5 introduced support for importing CSS through a custom plugin called next-css which extended the behavior of Next.js.
Over time we got consistent feedback from companies and users of Next.js, mentioning that they end up adding next-css to their application often.
Furthermore, next-css had a few missing constraints when importing CSS. For example, you could import a CSS file in every file of the project, however this imported CSS file would be global for the whole application.
In order to improve developer experience and solve these inconsistencies, we started working on…
This is an excerpt. The full article is published by Next.js Blog.
Continue reading at Next.js Blog