-
Hey all! I upgraded
error that occurs
|
Beta Was this translation helpful? Give feedback.
Answered by
danpiths
Oct 4, 2024
Replies: 1 comment 8 replies
-
Could I see your next config? |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ohh got it so for now i manually check for
dev
environment usingprocess.env.NODE_ENV === "development"
and then push toprocess.argv
the value"dev"
inside thenext.config.mjs
file before callingcreateMDX
. i didn't have an idea where the check was happening and was therefore not able to make out where i needed to do this.a hacky workaround but it works so yay! 🎉
thank you again for all the help and for all the efforts put into maintaining this project 🙌🏻 . appreciate it a lot :)