Closed bhawanishiv closed 2 years ago
What exactly doesn't work?
Sorry, couldn't respond on time. Actually, if you see the babel config, isServer
and isCallerDevelopment
are undefined in nextjs10
. I also found that in latest nextjs (i.e. 12), they have added these changes).
I mean't for latest nextjs (12) it works fine. But for my project having nextjs version 10, its not logging anything.
I am using
NextJS 10.0.1
, have importedwdyr.js
in_app.js
in line no. 1 and have customserver.js
. Please help me.My
package.json
looks like this:My babel config is:
And my
wdyr.js
looks like this: