The package was marked as a pure ESM package, which could potential break some upstream packages if they're mixing it with CJS. If it's not fully bundled then it might break the CJS require.
Error [ERR_REQUIRE_ESM]: require() of ES Module .next/server/pages/_app.js not supported.
Instead change the require of font.js in .next/server/pages/_app.js to a dynamic import() which is available in all CommonJS modules.
This PR makes it become a dual package which supports both CJS and ESM
TBD
[ ] Need to support CJS transform or next/font/local/index.js
The package was marked as a pure ESM package, which could potential break some upstream packages if they're mixing it with CJS. If it's not fully bundled then it might break the CJS
require
.This PR makes it become a dual package which supports both CJS and ESMTBD
next/font/local/index.js