You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We currently use require('next') to check whether the website is using Next.js.
However, this requires react and react-dom to also be available.
Doing require('next/package.json') instead should solve this. It's also faster.