Replies: 3 comments
-
I noticed this today as well with Towards the top of First iteration
Second iteration
Not sure why, but I'm assuming |
Beta Was this translation helpful? Give feedback.
-
how to solve? |
Beta Was this translation helpful? Give feedback.
-
I'm not proud of this and not sure if this use case will work for everyone. I suppose it depends on what you're trying to do. I have a high order function being invoked in our next config to do some additional pre-compilations that needs to be run only once before the app builds/starts. I am checking for Definitely not a fix...but a workaround. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
So with my current setup, I noticed that the in dev mode

next dev
thenext.config.js
export runs twice.The
isDev, isProd, isStaging
console log happens within the building phase and I would expect it to run once.I never experienced this with the previous versions.
Here is the example of my current next.config.js: https://github.com/PaulPCIO/nextjs-boilerplate-ts/blob/master/next.config.js
Beta Was this translation helpful? Give feedback.
All reactions