Anthony Bouch
Anthony Bouch
This also occurs in Next.js 15 if any CSS files in the project, or any CSS files that are imported (like our ui kit) are using calc this way. Oops...
I appears that this error only occurs when cssnano is used.
> Are you expecting this to be used on the frontend? We use this in a couple of places, including our Solr plugin for Payload. It was useful for us....
> I'm happy the export it, it's just important to know where. If we export it from the root barrel file, that function can't be used on the client. And...